diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-02-01 03:30:48 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-02-01 03:30:48 (GMT) |
commit | 04edd2eb7f29eb147d54bd32c2e0a55af44a4323 (patch) | |
tree | d89cf66052b078df3efaeadd67a9805acd3b522b /Lib/test | |
parent | 0f54db3a858c85b23c2bbf547c0b22f1a369fc31 (diff) | |
download | cpython-04edd2eb7f29eb147d54bd32c2e0a55af44a4323.zip cpython-04edd2eb7f29eb147d54bd32c2e0a55af44a4323.tar.gz cpython-04edd2eb7f29eb147d54bd32c2e0a55af44a4323.tar.bz2 |
Fix test_hash on "SPARC Solaris 10 (cc%2C 64b) [SB] 3.x" buildbot
I picked the value from the error message:
======================================================================
FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/cpython/buildslave/cc-64/3.x.snakebite-sol10-sparc-cc-64/build/Lib/test/test_hash.py", line 292, in test_ucs2_string
self.assertEqual(self.get_hash(self.repr_ucs2, seed=42), h)
AssertionError: -3927695501187247084 != None
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_hash.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_hash.py b/Lib/test/test_hash.py index 69c169f..8687244 100644 --- a/Lib/test/test_hash.py +++ b/Lib/test/test_hash.py @@ -233,7 +233,8 @@ class StringlikeHashRandomizationTests(HashRandomizationTests): [44402817, 8998297579845987431, -1956240331, -782697888614047887], # seed 42, 'äú∑ℇ' - [-283066365, -4576729883824601543, -271871407, None], + [-283066365, -4576729883824601543, -271871407, + -3927695501187247084], ] } |