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

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

== PyPy 3.12.13 (f591fa0fd4db, Jul 06 2026, 20:11:58) [PyPy 7.3.24-alpha0 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)]
== Linux-6.1.0-22-amd64-x86_64-with-glibc2.17 little-endian
== Python build: release with_assert
== cwd: /tmp/pytest/test_python_worker_3643551æ
== CPU count: 4
== encodings: locale=UTF-8 FS=utf-8
== resources (3): curses,gui,network

Using random seed: 2757783755
0:00:00 load avg: 0.98 Run 1 test sequentially in a single process
0:00:00 load avg: 0.98 [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 "/build_dir/pypy-c-jit-linux-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 "/build_dir/pypy-c-jit-linux-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 "/build_dir/pypy-c-jit-linux-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 "/build_dir/pypy-c-jit-linux-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 "/build_dir/pypy-c-jit-linux-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 "/build_dir/pypy-c-jit-linux-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.025s

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

== Tests result: FAILURE ==

1 test failed:
    test_print

Total duration: 91 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-linux-x86-64 build #11848+
test: lib-python/3/test/test_print.py::unmodified