mirror of https://github.com/python/cpython
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:
parent
9795ca44fb
commit
5c87ad07bd
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue