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

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

== PyPy 3.12.13 (a3c6b428e7a8, Jul 09 2026, 03:54:00) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-arm64-arm-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-arm64/pytest/test_python_worker_58333æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 3109876116
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 4.38 Run 1 test sequentially in a single process
0:00:00 load avg: 4.38 [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 "/Users/matti/build-worker-arm64/pypy-c-jit-macos-arm64/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.233s

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

== Tests result: FAILURE ==

1 test failed:
    test_slice

Total duration: 291 ms
Total tests: run=11
Total test files: run=1/1 failed=1
Result: FAILURE
test test_slice failed
builder: pypy-c-jit-macos-arm64 build #1306+
test: lib-python/3/test/test_slice.py::unmodified