From 5c87ad07bd3f38270a5b8c79d30c831c90ef3963 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Tue, 19 Mar 2013 23:21:03 -0700 Subject: Use a larger amount of data for the interrupted_write tests so that they work properly on systems configured with large pipe buffers. --- Lib/test/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12