mirror of
https://github.com/python/cpython.git
synced 2025-11-10 02:21:40 +00:00
[3.13] gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (GH-127877) (#129138)
This commit is contained in:
parent
f7f8b8b758
commit
cc3dc8ab24
22 changed files with 91 additions and 28 deletions
|
|
@ -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 @@ def test_asyncio_repl_is_ok(self):
|
|||
|
||||
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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue