Home - Summaries: (main) : (py3.11) : Everything - Nightly builds - Benchmarks - RPython - Builders - About

lib-python/3/test/test_slice.py::unmodified

== PyPy 3.12.13 (37b9293223c4, Jul 09 2026, 17:47:31) [PyPy 8.0.0-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_1096466æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 4009208140
0:00:00 load avg: 0.79 Run 1 test sequentially in a single process
0:00:00 load avg: 0.79 [1/1] test_slice
test_cmp (test.test_slice.SliceTest.test_cmp) ... ok
test_constructor (test.test_slice.SliceTest.test_constructor) ... ok
test_copy (test.test_slice.SliceTest.test_copy) ... ok
test_cycle (test.test_slice.SliceTest.test_cycle) ... ok
test_deepcopy (test.test_slice.SliceTest.test_deepcopy) ... ok
test_hash (test.test_slice.SliceTest.test_hash) ... ERROR
test_indices (test.test_slice.SliceTest.test_indices) ... ok
test_members (test.test_slice.SliceTest.test_members) ... ok
test_pickle (test.test_slice.SliceTest.test_pickle) ... ok
test_repr (test.test_slice.SliceTest.test_repr) ... ok
test_setslice_without_getslice (test.test_slice.SliceTest.test_setslice_without_getslice) ... ok

======================================================================
ERROR: test_hash (test.test_slice.SliceTest.test_hash)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build_dir/pypy-c-jit-linux-x86-64/build/lib-python/3/test/test_slice.py", line 83, in test_hash
    self.assertEqual(hash(slice(5)), slice(5).__hash__())
                     ^^^^^^^^^^^^^^
TypeError: unhashable type: 'slice'

----------------------------------------------------------------------
Ran 11 tests in 0.399s

FAILED (errors=1)
0:00:00 load avg: 0.79 [1/1/1] test_slice failed (1 error)

== Tests result: FAILURE ==

1 test failed:
    test_slice

Total duration: 478 ms
Total tests: run=11
Total test files: run=1/1 failed=1
Result: FAILURE
test test_slice failed
builder: pypy-c-jit-linux-x86-64 build #11857+
test: lib-python/3/test/test_slice.py::unmodified