From: Victor Stinner Date: Sat, 1 Feb 2014 03:30:48 +0000 (+0100) Subject: Fix test_hash on "SPARC Solaris 10 (cc%2C 64b) [SB] 3.x" buildbot X-Git-Tag: v3.4.0rc1~134 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=04edd2eb7f29eb147d54bd32c2e0a55af44a4323;p=python 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 --- diff --git a/Lib/test/test_hash.py b/Lib/test/test_hash.py index 69c169fc6c..86872447ad 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], ] }