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

lib-python/3/test/test_codeop.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_28734æ
== CPU count: 8
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 625106664
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 2.97 Run 1 test sequentially in a single process
0:00:00 load avg: 2.97 [1/1] test_codeop
test_filename (test.test_codeop.CodeopTests.test_filename) ... ok
test_incomplete (test.test_codeop.CodeopTests.test_incomplete) ... ERROR
test_incomplete_warning (test.test_codeop.CodeopTests.test_incomplete_warning) ... ok
test_invalid (test.test_codeop.CodeopTests.test_invalid) ... ok
test_invalid_exec (test.test_codeop.CodeopTests.test_invalid_exec) ... ok
test_invalid_warning (test.test_codeop.CodeopTests.test_invalid_warning) ... ok
test_syntax_errors (test.test_codeop.CodeopTests.test_syntax_errors) ... ok
test_valid (test.test_codeop.CodeopTests.test_valid) ... ok
test_warning (test.test_codeop.CodeopTests.test_warning) ... FAIL

======================================================================
ERROR: test_incomplete (test.test_codeop.CodeopTests.test_incomplete)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_codeop.py", line 226, in test_incomplete
    ai('a = f"""')
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_codeop.py", line 21, in assertIncomplete
    self.assertEqual(compile_command(str, symbol=symbol), None)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/codeop.py", line 111, in compile_command
    return _maybe_compile(_compile, source, filename, symbol)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/codeop.py", line 73, in _maybe_compile
    return compiler(source, filename, symbol, incomplete_input=False)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/codeop.py", line 89, in _compile
    return compile(source, filename, symbol, flags)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<input>", line 1
    a = f"""
        ^
SyntaxError: unterminated triple-quoted f-string literal (detected at line 1)

======================================================================
FAIL: test_warning (test.test_codeop.CodeopTests.test_warning)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_codeop.py", line 283, in test_warning
    with warnings_helper.check_warnings(
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/support/warnings_helper.py", line 185, in _filterwarnings
    raise AssertionError("unhandled warning %s" % reraise[0])
AssertionError: unhandled warning {message : SyntaxWarning('"is" with a literal. Did you mean "=="?'), category : 'SyntaxWarning', filename : '<input>', lineno : 1, line : None}

----------------------------------------------------------------------
Ran 9 tests in 0.017s

FAILED (failures=1, errors=1)
0:00:00 load avg: 2.97 [1/1/1] test_codeop failed (1 error, 1 failure)

== Tests result: FAILURE ==

1 test failed:
    test_codeop

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