Use a larger amount of data for the interrupted_write tests so that

they work properly on systems configured with large pipe buffers.
This commit is contained in:
Gregory P. Smith 2013-03-19 23:21:03 -07:00
parent 9795ca44fb
commit 5c87ad07bd
1 changed files with 1 additions and 1 deletions

View File

@ -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.