lib-python/3/test/test_eof.py::unmodified
== PyPy 3.12.13 (e18f94749c2a, Aug 22 2026, 05:15:34) [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_91800æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network
Using random seed: 3389288932
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 2.78 Run 1 test sequentially in a single process
0:00:00 load avg: 2.78 [1/1] test_eof
test_EOFS (test.test_eof.EOFTestCase.test_EOFS) ... ok
test_EOFS_with_file (test.test_eof.EOFTestCase.test_EOFS_with_file) ... ok
test_EOF_single_quote (test.test_eof.EOFTestCase.test_EOF_single_quote) ... ok
test_eof_with_line_continuation (test.test_eof.EOFTestCase.test_eof_with_line_continuation) ... ok
test_line_continuation_EOF (test.test_eof.EOFTestCase.test_line_continuation_EOF)
A continuation at the end of input must be an error; bpo2180. ... ok
test_line_continuation_EOF_from_file_bpo2180 (test.test_eof.EOFTestCase.test_line_continuation_EOF_from_file_bpo2180)
Ensure tok_nextc() does not add too many ending newlines. ... FAIL
======================================================================
FAIL: test_line_continuation_EOF_from_file_bpo2180 (test.test_eof.EOFTestCase.test_line_continuation_EOF_from_file_bpo2180)
Ensure tok_nextc() does not add too many ending newlines.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_eof.py", line 139, in test_line_continuation_EOF_from_file_bpo2180
self.assertEqual(err[-2:], [
^^^^^^^^^^^
AssertionError: Lists differ: [' ^', 'SyntaxError: unexpected end of file (EOF) in multi-line statement'] != [' \\', 'SyntaxError: unexpected end of file (EOF) in multi-line statement']
First differing element 0:
' ^'
' \\'
- [' ^', 'SyntaxError: unexpected end of file (EOF) in multi-line statement']
? ^^
+ [' \\', 'SyntaxError: unexpected end of file (EOF) in multi-line statement']
? ^^
----------------------------------------------------------------------
Ran 6 tests in 0.457s
FAILED (failures=1)
0:00:00 load avg: 2.78 [1/1/1] test_eof failed (1 failure)
== Tests result: FAILURE ==
1 test failed:
test_eof
Total duration: 559 ms
Total tests: run=6 failures=1
Total test files: run=1/1 failed=1
Result: FAILURE
test test_eof failed
builder: pypy-c-jit-macos-x86-64 build #1401+
test: lib-python/3/test/test_eof.py::unmodified