[Python-checkins] cpython (2.7): Use a larger amount of data for the interrupted_write tests so that
gregory.p.smith
python-checkins at python.org
Wed Mar 20 07:27:24 CET 2013
http://hg.python.org/cpython/rev/3876d86e2642
changeset: 82830:3876d86e2642
branch: 2.7
parent: 82814:be4bec689de3
user: Gregory P. Smith <greg at krypto.org>
date: Tue Mar 19 23:21:03 2013 -0700
summary:
Use a larger amount of data for the interrupted_write tests so that
they work properly on systems configured with large pipe buffers.
files:
Lib/test/test_io.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py
--- a/Lib/test/test_io.py
+++ b/Lib/test/test_io.py
@@ -2880,7 +2880,7 @@
# 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.
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list