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

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

Using random seed: 2838910593
Raised RLIMIT_NOFILE: 256 -> 1024
0:00:00 load avg: 1.34 Run 1 test sequentially in a single process
0:00:00 load avg: 1.34 [1/1] test_print
test_gh130163 (test.test_print.TestPrint.test_gh130163) ... ok
test_print (test.test_print.TestPrint.test_print) ... ok
test_print_flush (test.test_print.TestPrint.test_print_flush) ... ok
test_normal_string (test.test_print.TestPy2MigrationHint.test_normal_string) ... FAIL
test_stream_redirection_hint_for_py2_migration (test.test_print.TestPy2MigrationHint.test_stream_redirection_hint_for_py2_migration) ... ok
test_string_in_loop_on_same_line (test.test_print.TestPy2MigrationHint.test_string_in_loop_on_same_line) ... FAIL
test_string_with_excessive_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_excessive_whitespace) ... FAIL
test_string_with_leading_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_leading_whitespace) ... FAIL
test_string_with_semicolon (test.test_print.TestPy2MigrationHint.test_string_with_semicolon) ... FAIL
test_string_with_soft_space (test.test_print.TestPy2MigrationHint.test_string_with_soft_space) ... FAIL

======================================================================
FAIL: test_normal_string (test.test_print.TestPy2MigrationHint.test_normal_string)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_print.py", line 154, in test_normal_string
    self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)",
         ^^^^^^^^
AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World")? (<string>, line 1)'

======================================================================
FAIL: test_string_in_loop_on_same_line (test.test_print.TestPy2MigrationHint.test_string_in_loop_on_same_line)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_print.py", line 199, in test_string_in_loop_on_same_line
    self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)",
         ^^^^^^^^
AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in "Missing parentheses in call to 'print'. Did you mean print(i)? (<string>, line 1)"

======================================================================
FAIL: test_string_with_excessive_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_excessive_whitespace)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_print.py", line 170, in test_string_with_excessive_whitespace
    self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)",
         ^^^^^^^^
AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World", end=" ")? (<string>, line 1)'

======================================================================
FAIL: test_string_with_leading_whitespace (test.test_print.TestPy2MigrationHint.test_string_with_leading_whitespace)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_print.py", line 180, in test_string_with_leading_whitespace
    self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)",
         ^^^^^^^^
AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World")? (<string>, line 2)'

======================================================================
FAIL: test_string_with_semicolon (test.test_print.TestPy2MigrationHint.test_string_with_semicolon)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_print.py", line 191, in test_string_with_semicolon
    self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)",
         ^^^^^^^^
AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in "Missing parentheses in call to 'print'. Did you mean print(p)? (<string>, line 1)"

======================================================================
FAIL: test_string_with_soft_space (test.test_print.TestPy2MigrationHint.test_string_with_soft_space)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/matti/build-worker-x86_64/pypy-c-jit-macos-x86-64/build/lib-python/3/test/test_print.py", line 162, in test_string_with_soft_space
    self.assertIn("Missing parentheses in call to 'print'. Did you mean print(...)",
         ^^^^^^^^
AssertionError: "Missing parentheses in call to 'print'. Did you mean print(...)" not found in 'Missing parentheses in call to \'print\'. Did you mean print("Hello World", end=" ")? (<string>, line 1)'

----------------------------------------------------------------------
Ran 10 tests in 0.020s

FAILED (failures=6)
0:00:00 load avg: 1.34 [1/1/1] test_print failed (6 failures)

== Tests result: FAILURE ==

1 test failed:
    test_print

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