cpython icon indicating copy to clipboard operation
cpython copied to clipboard

test_pyrepl failure on main

Open smontanaro opened this issue 2 weeks ago • 10 comments

Bug report

Bug description:

test_pyrepl started failing for me a day or two ago. According to git bisect, this is the problematic commit:

8a2deea1fc725f8147254f87c6042fcf75a1d03b is the first bad commit
commit 8a2deea1fc725f8147254f87c6042fcf75a1d03b
Author: Jan-Eric Nitschke <[email protected]>
Date:   Fri Jan 2 14:04:37 2026 +0100

    gh-128067: Fix pyrepl overriding printed output without newlines (#138732)
    
    Co-authored-by: Łukasz Langa <[email protected]>

 Lib/_pyrepl/unix_console.py                                        |  7 +++---
 Lib/_pyrepl/windows_console.py                                     |  7 +++---
 Lib/test/test_pyrepl/test_pyrepl.py                                | 38 +++++++++++++++++++++++++++++++
 Lib/test/test_pyrepl/test_unix_console.py                          | 14 ++++++++++++
 Lib/test/test_pyrepl/test_windows_console.py                       | 14 ++++++++++++
 Misc/ACKS                                                          |  1 +
 .../next/Windows/2025-09-14-13-35-44.gh-issue-128067.BGdP_A.rst    |  1 +
 7 files changed, 76 insertions(+), 6 deletions(-)
 create mode 100644 Misc/NEWS.d/next/Windows/2025-09-14-13-35-44.gh-issue-128067.BGdP_A.rst

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

  • gh-143433
  • gh-143459
  • gh-143461

smontanaro avatar Jan 03 '26 20:01 smontanaro