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

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

== PyPy 3.12.13 (22398ecb2727, Aug 16 2026, 05:40:34) [PyPy 8.0.0-alpha0 with MSC v.1941 64 bit (AMD64)]
== Windows-10-10.0.19045-SP0 little-endian
== Python build: release with_assert
== cwd: D:\SystemTemp\pytest\test_python_worker_9380æ
== CPU count: 2
== encodings: locale=ascii FS=utf-8
== resources (3): curses,gui,network

Using random seed: 5296489
0:00:00 Run 1 test sequentially in a single process
0:00:00 [1/1] test_setcomps
test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) ... 
  test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.next_raises at 0x000001dcae1512e0>] ... FAIL
  test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x000001dcae1513a8>] ... FAIL
doctests (test.test_setcomps.__test__)
Doctest: test.test_setcomps.__test__.doctests ... ok

======================================================================
FAIL: test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.next_raises at 0x000001dcae1512e0>]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_setcomps.py", line 188, in test_exception_locations
    self.assertEqual(f.line[f.colno - indent : f.end_colno - indent],
         ^^^^^^^^^^^
AssertionError: '{x for x in BrokenIter(next_raises=True)}' != 'BrokenIter(next_raises=True)'
- {x for x in BrokenIter(next_raises=True)}
? ------------                            -
+ BrokenIter(next_raises=True)


======================================================================
FAIL: test_exception_locations (test.test_setcomps.SetComprehensionTest.test_exception_locations) [<function SetComprehensionTest.test_exception_locations.<locals>.iter_raises at 0x000001dcae1513a8>]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "d:\pypy_stuff\buildbot64\slave\pypy-c-jit-win-x86-64\build\lib-python\3\test\test_setcomps.py", line 188, in test_exception_locations
    self.assertEqual(f.line[f.colno - indent : f.end_colno - indent],
         ^^^^^^^^^^^
AssertionError: '{x for x in BrokenIter(iter_raises=True)}' != 'BrokenIter(iter_raises=True)'
- {x for x in BrokenIter(iter_raises=True)}
? ------------                            -
+ BrokenIter(iter_raises=True)


----------------------------------------------------------------------
Ran 2 tests in 0.042s

FAILED (failures=2)
0:00:00 [1/1/1] test_setcomps failed (2 failures)

== Tests result: FAILURE ==

1 test failed:
    test_setcomps

Total duration: 332 ms
Total tests: run=2 failures=2
Total test files: run=1/1 failed=1
Result: FAILURE
test test_setcomps failed
builder: pypy-c-jit-win-x86-64 build #2497+
test: lib-python/3/test/test_setcomps.py::unmodified