Commit 5c87ad07 authored by Gregory P. Smith's avatar Gregory P. Smith

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

they work properly on systems configured with large pipe buffers.
parent 9795ca44
...@@ -2880,7 +2880,7 @@ class SignalsTest(unittest.TestCase): ...@@ -2880,7 +2880,7 @@ class SignalsTest(unittest.TestCase):
# The buffered IO layer must check for pending signal # The buffered IO layer must check for pending signal
# handlers, which in this case will invoke alarm_interrupt(). # handlers, which in this case will invoke alarm_interrupt().
self.assertRaises(ZeroDivisionError, self.assertRaises(ZeroDivisionError,
wio.write, item * (1024 * 1024)) wio.write, item * (3 * 1000 * 1000))
t.join() t.join()
# We got one byte, get another one and check that it isn't a # We got one byte, get another one and check that it isn't a
# repeat of the first one. # repeat of the first one.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment