Skip to content

Commit cfd56e6

Browse files
ashm-devpicnixz
andauthored
Update Lib/test/test_cmd_line.py
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 2392f76 commit cfd56e6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Lib/test/test_cmd_line.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,7 @@ def test_null_byte_in_interactive_mode(self):
208208
# byte to the interactive prompt does not crash the interpreter.
209209
proc = spawn_python('-I', '-i')
210210
out, _ = proc.communicate(b'\x00', timeout=10)
211-
self.assertEqual(
212-
proc.returncode, 0,
213-
msg=f"Interpreter aborted on NUL input, output:\n{out[:500]!r}"
214-
)
211+
self.assertEqual(proc.returncode, 0)
215212

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

0 commit comments

Comments
 (0)