From 04edd2eb7f29eb147d54bd32c2e0a55af44a4323 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Sat, 1 Feb 2014 04:30:48 +0100 Subject: 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 --- Lib/test/test_hash.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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], ] } -- cgit v0.12