cpython/Lib/test/test_pyrepl
Miss Islington (bot) af28efd8b4
[3.14] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140117)
Revert GH-131993.

Fix swallowing some syntax warnings in different modules if they accidentally
have the same message and are emitted from the same line.

Fix duplicated warnings in the "finally" block.

(cherry picked from commit 279db6bede)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>

* Update 2025-10-06-10-03-37.gh-issue-139640.gY5oTb.rst

---------

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-10-14 15:56:01 +00:00
..
__init__.py [3.14] gh-138801: re-enable pyrepl tests on Windows (GH-138802) (GH-138815) 2025-09-15 16:42:36 +02:00
__main__.py
eio_test_script.py [3.14] gh-135329: prevent infinite traceback loop on Ctrl-C for strace (GH-138133) (#138973) 2025-09-16 11:04:49 +00:00
support.py gh-133346: Make theming support in _colorize extensible (GH-133347) 2025-05-05 23:45:25 +02:00
test_eventqueue.py [3.14] gh-135621: Remove dependency on curses from PyREPL (GH-136758) (GH-136915) 2025-07-21 13:02:41 +02:00
test_input.py
test_interact.py [3.14] gh-139640: Fix swallowing syntax warnings in different modules (GH-139755) (GH-140117) 2025-10-14 15:56:01 +00:00
test_keymap.py gh-119357: Increase test coverage for keymap in _pyrepl (#119358) 2024-05-22 04:36:01 +02:00
test_pyrepl.py [3.14] gh-133400: Fixed Ctrl+D (^D) behavior in :mod:_pyrepl module (GH-133883) (GH-139850) 2025-10-09 17:38:25 +02:00
test_reader.py [3.14] gh-138239: Fix incorrect highlighting of "type" in type statements in the REPL (GH-138241) (GH-138937) 2025-10-07 23:02:32 +02:00
test_terminfo.py [3.14] gh-135621: Remove dependency on curses from PyREPL (GH-136758) (GH-136915) 2025-07-21 13:02:41 +02:00
test_unix_console.py [3.14] gh-139391: properly handle signal.signal() in UnixConsole when called from a non-main thread (GH-139392) (#139858) 2025-10-09 16:10:51 +00:00
test_utils.py [3.14] gh-138318, PyREPL: builtins should not be highlighted when used as attribute names (GH-138319) (#138654) 2025-09-08 13:29:53 +00:00
test_windows_console.py [3.14] GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660) (gh-134666) 2025-05-25 18:43:07 +00:00