diff options
author | Bill Wendling <morbo@google.com> | 2021-11-04 04:05:44 -0700 |
---|---|---|
committer | Bill Wendling <morbo@google.com> | 2021-11-04 04:05:44 -0700 |
commit | 61532b570bd9938b802d84fc788abb9b4c99bcde (patch) | |
tree | 3f66c0adbd92ad1e730d8240a4de5f52d931b969 | |
parent | 20493978396111e880bdbefbd9bb61c8dbc361da (diff) | |
download | yapf-61532b570bd9938b802d84fc788abb9b4c99bcde.tar.gz |
Turn off hash randomization in test.
-rw-r--r-- | yapftests/yapf_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapftests/yapf_test.py b/yapftests/yapf_test.py index 4e062cf..446b256 100644 --- a/yapftests/yapf_test.py +++ b/yapftests/yapf_test.py @@ -1528,7 +1528,7 @@ a = 4-b / c@d**37 self.assertYapfReformats( unformatted_code, expected_formatted_code, - env={'PYTHONIOENCODING': 'cp936'}) + env={'PYTHONIOENCODING': 'cp936', 'PYTHONHASHSEED': 0}) def testDisableWithLineRanges(self): unformatted_code = """\ |