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 cfd56e6 commit 2647f02Copy full SHA for 2647f02
1 file changed
Lib/test/test_cmd_line.py
@@ -206,8 +206,8 @@ def test_null_byte_in_interactive_mode(self):
206
# gh-140594: heap-buffer-underflow in PyOS_StdioReadline when a NUL (\0)
207
# is present in interactive input. The test ensures that feeding a null
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)
+ proc = spawn_python('-i')
+ proc.communicate(b'\x00', timeout=10)
211
self.assertEqual(proc.returncode, 0)
212
213
def test_relativedir_bug46421(self):
0 commit comments