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

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

== PyPy 3.12.13 (e99dc7a98783, Jul 10 2026, 07:10:46) [PyPy 8.0.0-alpha0 with GCC Apple LLVM 16.0.0 (clang-1600.0.26.6)]
== macOS-15.7.7-x86_64-i386-64bit little-endian
== Python build: release with_assert
== cwd: /private/tmp/buildbot-x86_64/pytest/test_python_worker_29071æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 3061137480
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 2.10 Run 1 test sequentially in a single process
0:00:00 load avg: 2.10 [1/1] test_dictcomps
test_assignment_idiom_in_comprehensions (test.test_dictcomps.DictComprehensionTest.test_assignment_idiom_in_comprehensions) ... ok
test_basics (test.test_dictcomps.DictComprehensionTest.test_basics) ... ok
test_evaluation_order (test.test_dictcomps.DictComprehensionTest.test_evaluation_order) ... ok
test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) ... 
  test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007fa2b018d218>] ... FAIL
  test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007fa2b018d2e0>] ... FAIL
test_global_visibility (test.test_dictcomps.DictComprehensionTest.test_global_visibility) ... ok
test_illegal_assignment (test.test_dictcomps.DictComprehensionTest.test_illegal_assignment) ... ok
test_local_visibility (test.test_dictcomps.DictComprehensionTest.test_local_visibility) ... ok
test_scope_isolation (test.test_dictcomps.DictComprehensionTest.test_scope_isolation) ... ok
test_scope_isolation_from_global (test.test_dictcomps.DictComprehensionTest.test_scope_isolation_from_global) ... ok
test_star_expression (test.test_dictcomps.DictComprehensionTest.test_star_expression) ... ok

======================================================================
FAIL: test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.next_raises at 0x00007fa2b018d218>]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_dictcomps.py", line 165, in test_exception_locations
    self.assertEqual(f.line[f.colno - indent : f.end_colno - indent],
         ^^^^^^^^^^^
AssertionError: '{x:x for x in BrokenIter(next_raises=True)}' != 'BrokenIter(next_raises=True)'
- {x:x for x in BrokenIter(next_raises=True)}
? --------------                            -
+ BrokenIter(next_raises=True)


======================================================================
FAIL: test_exception_locations (test.test_dictcomps.DictComprehensionTest.test_exception_locations) [<function DictComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x00007fa2b018d2e0>]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_dictcomps.py", line 165, in test_exception_locations
    self.assertEqual(f.line[f.colno - indent : f.end_colno - indent],
         ^^^^^^^^^^^
AssertionError: '{x:x for x in BrokenIter(iter_raises=True)}' != 'BrokenIter(iter_raises=True)'
- {x:x for x in BrokenIter(iter_raises=True)}
? --------------                            -
+ BrokenIter(iter_raises=True)


----------------------------------------------------------------------
Ran 10 tests in 0.005s

FAILED (failures=2)
0:00:00 load avg: 2.10 [1/1/1] test_dictcomps failed (2 failures)

== Tests result: FAILURE ==

1 test failed:
    test_dictcomps

Total duration: 91 ms
Total tests: run=10 failures=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_dictcomps failed
builder: pypy-c-jit-macos-x86-64 build #1329+
test: lib-python/3/test/test_dictcomps.py::unmodified