We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
test_dumb_terminal_exits_cleanly
1 parent e34a5e3 commit 06c7794Copy full SHA for 06c7794
Lib/test/test_pyrepl/test_pyrepl.py
@@ -1406,6 +1406,9 @@ class TestDumbTerminal(ReplTestCase):
1406
def test_dumb_terminal_exits_cleanly(self):
1407
env = os.environ.copy()
1408
env.pop('PYTHON_BASIC_REPL', None)
1409
+ # Ignore PYTHONSTARTUP to not pollute the output
1410
+ # with an unrelated traceback. See GH-137568.
1411
+ env.pop('PYTHONSTARTUP', None)
1412
env.update({"TERM": "dumb"})
1413
output, exit_code = self.run_repl("exit()\n", env=env)
1414
self.assertEqual(exit_code, 0)
0 commit comments