Skip to content

Conversation

bswck
Copy link
Contributor

@bswck bswck commented Oct 18, 2025

The test examines tracebacks, but one can occur in a failing startup file and the test shouldn't fail just because of that.

CC @ZeroIntensity (mentorship): skip news here. We'll want to backport as well -- let's add 3.13 and 3.14 to the issue.

def test_dumb_terminal_exits_cleanly(self):
env = os.environ.copy()
env.pop('PYTHON_BASIC_REPL', None)
env.pop('PYTHONSTARTUP', None)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be useful to include a comment here explaining why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants