mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-127873: Only check sys.flags.ignore_environment
for PYTHON*
env vars (#127877)
This commit is contained in:
parent
13475e0a5a
commit
05d12eecbd
22 changed files with 94 additions and 65 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 @@ 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue