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

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

== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 04:08:29) [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_1732932æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 1837410293
0:00:00 load avg: 0.87 Run 1 test sequentially in a single process
0:00:00 load avg: 0.87 [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.401s

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

== Tests result: FAILURE ==

1 test failed:
    test_slice

Total duration: 480 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 #11860+
test: lib-python/3/test/test_slice.py::unmodified