Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/test_cmd_line.py
Co-authored-by: Bénédikt Tran <[email protected]>
  • Loading branch information
ashm-dev and picnixz authored Nov 2, 2025
commit cfd56e63ef5b48fea4de159462ca23b20fa6061a
5 changes: 1 addition & 4 deletions Lib/test/test_cmd_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,7 @@ def test_null_byte_in_interactive_mode(self):
# byte to the interactive prompt does not crash the interpreter.
proc = spawn_python('-I', '-i')
Comment thread
ashm-dev marked this conversation as resolved.
Outdated
out, _ = proc.communicate(b'\x00', timeout=10)
self.assertEqual(
proc.returncode, 0,
msg=f"Interpreter aborted on NUL input, output:\n{out[:500]!r}"
)
self.assertEqual(proc.returncode, 0)

def test_relativedir_bug46421(self):
# Test `python -m unittest` with a relative directory beginning with ./
Expand Down
Loading