Skip to content

Commit 5cc8e1d

Browse files
committed
Add a comment
1 parent a45f1b4 commit 5cc8e1d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_pyrepl/test_pyrepl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,8 @@ class TestDumbTerminal(ReplTestCase):
14061406
def test_dumb_terminal_exits_cleanly(self):
14071407
env = os.environ.copy()
14081408
env.pop('PYTHON_BASIC_REPL', None)
1409+
# Ignore PYTHONSTARTUP to not pollute the output
1410+
# with an unrelated traceback. See #137568
14091411
env.pop('PYTHONSTARTUP', None)
14101412
env.update({"TERM": "dumb"})
14111413
output, exit_code = self.run_repl("exit()\n", env=env)

0 commit comments

Comments
 (0)