mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
This fixes the flakiness in:
* test_inspect_keeps_globals_from_inspected_file
* test_inspect_keeps_globals_from_inspected_module
The output already includes newlines. Adding newlines for every entry in
the output list introduces non-determinism because it added '\n' in
places where stdout is flushed or some buffer becomes full.
The regex also needed to be updated because pyrepl includes control
characters -- the visible output on each line doesn't immediately follow
a newline character.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| support.py | ||
| test_input.py | ||
| test_interact.py | ||
| test_keymap.py | ||
| test_pyrepl.py | ||
| test_reader.py | ||
| test_unix_console.py | ||
| test_unix_eventqueue.py | ||
| test_windows_console.py | ||