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.
1 parent 2392f76 commit cfd56e6Copy full SHA for cfd56e6
Lib/test/test_cmd_line.py
@@ -208,10 +208,7 @@ def test_null_byte_in_interactive_mode(self):
208
# byte to the interactive prompt does not crash the interpreter.
209
proc = spawn_python('-I', '-i')
210
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
- )
+ self.assertEqual(proc.returncode, 0)
215
216
def test_relativedir_bug46421(self):
217
# Test `python -m unittest` with a relative directory beginning with ./
0 commit comments