summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-08-06 09:17:16 (GMT)
committerGeorg Brandl <georg@python.org>2006-08-06 09:17:16 (GMT)
commitd336e98ed999c80df2fa8829622aa443136c655d (patch)
tree77a61ccc7801a0d1e093e037d5e3438115c9c464
parent7e3ba2a699d6a5660fc7bf239b2090d5b2961b8c (diff)
downloadcpython-d336e98ed999c80df2fa8829622aa443136c655d.zip
cpython-d336e98ed999c80df2fa8829622aa443136c655d.tar.gz
cpython-d336e98ed999c80df2fa8829622aa443136c655d.tar.bz2
Don't produce output in test_builtin.
-rw-r--r--Lib/test/test_builtin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index eca284a..9d9b1f9 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -1432,12 +1432,12 @@ class BuiltinTest(unittest.TestCase):
self.assertEqual(input('testing\n'), 2)
self.assertEqual(raw_input(), 'The quick brown fox jumps over the lazy dog.')
self.assertEqual(raw_input('testing\n'), 'Dear John')
-
+
# SF 1535165: don't segfault on closed stdin
# 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")