diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2025-01-21 18:10:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 16:10:08 +0000 |
commit | 05d12eecbde1ace39826320cadf8e673d709b229 (patch) | |
tree | 2e767c71374e498d1f9759e2ba60177152b396d0 /Lib/test/test_repl.py | |
parent | 13475e0a5a317fa61f302f030b0effcb021873d6 (diff) | |
download | cpython-05d12eecbde1ace39826320cadf8e673d709b229.tar.gz cpython-05d12eecbde1ace39826320cadf8e673d709b229.zip |
gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (#127877)
Diffstat (limited to 'Lib/test/test_repl.py')
-rw-r--r-- | Lib/test/test_repl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_repl.py b/Lib/test/test_repl.py index e764e60560d..356ff5b198d 100644 --- a/Lib/test/test_repl.py +++ b/Lib/test/test_repl.py @@ -70,6 +70,7 @@ def run_on_interactive_mode(source): return output +@support.force_not_colorized_test_class class TestInteractiveInterpreter(unittest.TestCase): @cpython_only @@ -273,6 +274,8 @@ class TestInteractiveInterpreter(unittest.TestCase): self.assertEqual(exit_code, 0, "".join(output)) + +@support.force_not_colorized_test_class class TestInteractiveModeSyntaxErrors(unittest.TestCase): def test_interactive_syntax_error_correct_line(self): |