lib-python/3/test/test_hash.py::unmodified
== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 07:29:29) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-4.19.90-2202.1.0.0136.oe1.aarch64-aarch64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_235062æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 2100423070
0:00:00 load avg: 0.82 Run 1 test sequentially in a single process
0:00:00 load avg: 0.82 [1/1] test_hash
test_empty_string (test.test_hash.BytesHashRandomizationTests.test_empty_string) ... FAIL
test_fixed_hash (test.test_hash.BytesHashRandomizationTests.test_fixed_hash) ... ok
test_long_fixed_hash (test.test_hash.BytesHashRandomizationTests.test_long_fixed_hash) ... ok
test_null_hash (test.test_hash.BytesHashRandomizationTests.test_null_hash) ... ok
test_randomized_hash (test.test_hash.BytesHashRandomizationTests.test_randomized_hash) ... ok
test_randomized_hash (test.test_hash.DatetimeDateTests.test_randomized_hash) ... ok
test_randomized_hash (test.test_hash.DatetimeDatetimeTests.test_randomized_hash) ... ok
test_randomized_hash (test.test_hash.DatetimeTimeTests.test_randomized_hash) ... ok
test_hashes (test.test_hash.HashBuiltinsTestCase.test_hashes) ... ok
test_hash_distribution (test.test_hash.HashDistributionTestCase.test_hash_distribution) ... ok
test_coerced_floats (test.test_hash.HashEqualityTestCase.test_coerced_floats) ... ok
test_coerced_integers (test.test_hash.HashEqualityTestCase.test_coerced_integers) ... ok
test_numeric_literals (test.test_hash.HashEqualityTestCase.test_numeric_literals) ... ok
test_unaligned_buffers (test.test_hash.HashEqualityTestCase.test_unaligned_buffers) ... ok
test_default_hash (test.test_hash.HashInheritanceTestCase.test_default_hash) ... ok
test_error_hash (test.test_hash.HashInheritanceTestCase.test_error_hash) ... ok
test_fixed_hash (test.test_hash.HashInheritanceTestCase.test_fixed_hash) ... ok
test_hashable (test.test_hash.HashInheritanceTestCase.test_hashable) ... ok
test_not_hashable (test.test_hash.HashInheritanceTestCase.test_not_hashable) ... ok
test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string) ... FAIL
test_fixed_hash (test.test_hash.MemoryviewHashRandomizationTests.test_fixed_hash) ... ok
test_long_fixed_hash (test.test_hash.MemoryviewHashRandomizationTests.test_long_fixed_hash) ... ok
test_null_hash (test.test_hash.MemoryviewHashRandomizationTests.test_null_hash) ... ok
test_randomized_hash (test.test_hash.MemoryviewHashRandomizationTests.test_randomized_hash) ... ok
test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string) ... FAIL
test_fixed_hash (test.test_hash.StrHashRandomizationTests.test_fixed_hash) ... ok
test_long_fixed_hash (test.test_hash.StrHashRandomizationTests.test_long_fixed_hash) ... ok
test_null_hash (test.test_hash.StrHashRandomizationTests.test_null_hash) ... ok
test_randomized_hash (test.test_hash.StrHashRandomizationTests.test_randomized_hash) ... ok
test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string) ... FAIL
======================================================================
FAIL: test_empty_string (test.test_hash.BytesHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_hash.py", line 315, in test_empty_string
self.assertEqual(hash(b""), 0)
^^^^^^^^^^^
AssertionError: -8630807942337394092 != 0
======================================================================
FAIL: test_empty_string (test.test_hash.MemoryviewHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_hash.py", line 324, in test_empty_string
self.assertEqual(hash(memoryview(b"")), 0)
^^^^^^^^^^^
AssertionError: -8630807942337394092 != 0
======================================================================
FAIL: test_empty_string (test.test_hash.StrHashRandomizationTests.test_empty_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_hash.py", line 299, in test_empty_string
self.assertEqual(hash(""), 0)
^^^^^^^^^^^
AssertionError: -8630807942337394092 != 0
======================================================================
FAIL: test_ucs2_string (test.test_hash.StrHashRandomizationTests.test_ucs2_string)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build_dir/pypy-c-jit-linux-aarch64/build/lib-python/3/test/test_hash.py", line 304, in test_ucs2_string
self.assertEqual(self.get_hash(self.repr_ucs2, seed=0), h)
^^^^^^^^^^^
AssertionError: 6366690566833080022 != 5749986484189612790
----------------------------------------------------------------------
Ran 30 tests in 0.849s
FAILED (failures=4)
0:00:01 load avg: 0.82 [1/1/1] test_hash failed (4 failures)
== Tests result: FAILURE ==
1 test failed:
test_hash
Total duration: 1.0 sec
Total tests: run=30 failures=4
Total test files: run=1/1 failed=1
Result: FAILURE
test test_hash failed
builder: pypy-c-jit-linux-aarch64 build #2943+
test: lib-python/3/test/test_hash.py::unmodified