summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2013-03-20 06:21:03 (GMT)
committerGregory P. Smith <greg@krypto.org>2013-03-20 06:21:03 (GMT)
commit5c87ad07bd3f38270a5b8c79d30c831c90ef3963 (patch)
tree27054f48354a6b89a086bd9087623b783425c100 /Lib
parent9795ca44fbf6d94789ee7053b81ff18f008c41ea (diff)
downloadcpython-5c87ad07bd3f38270a5b8c79d30c831c90ef3963.zip
cpython-5c87ad07bd3f38270a5b8c79d30c831c90ef3963.tar.gz
cpython-5c87ad07bd3f38270a5b8c79d30c831c90ef3963.tar.bz2
Use a larger amount of data for the interrupted_write tests so that
they work properly on systems configured with large pipe buffers.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_io.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
index 3769a02..5cd28f5 100644
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -2880,7 +2880,7 @@ class SignalsTest(unittest.TestCase):
# The buffered IO layer must check for pending signal
# handlers, which in this case will invoke alarm_interrupt().
self.assertRaises(ZeroDivisionError,
- wio.write, item * (1024 * 1024))
+ wio.write, item * (3 * 1000 * 1000))
t.join()
# We got one byte, get another one and check that it isn't a
# repeat of the first one.