Don't produce output in test_builtin.
This commit is contained in:
parent
7e3ba2a699
commit
d336e98ed9
|
@ -1437,7 +1437,7 @@ class BuiltinTest(unittest.TestCase):
|
|||
# sys.stdout must be a regular file for triggering
|
||||
sys.stdout = savestdout
|
||||
sys.stdin.close()
|
||||
self.assertRaises(ValueError, input, 'prompt')
|
||||
self.assertRaises(ValueError, input)
|
||||
|
||||
sys.stdout = BitBucket()
|
||||
sys.stdin = cStringIO.StringIO("NULL\0")
|
||||
|
|
Loading…
Reference in New Issue