tweak a test that relied too much on timing
This commit is contained in:
parent
abb7f1f1ba
commit
5c2c949b1e
|
@ -67,7 +67,7 @@ class BufferedPipeTest (unittest.TestCase):
|
||||||
self.assert_(False)
|
self.assert_(False)
|
||||||
except PipeTimeout:
|
except PipeTimeout:
|
||||||
pass
|
pass
|
||||||
self.assertEquals('b', p.read(1, 0.5))
|
self.assertEquals('b', p.read(1, 1.0))
|
||||||
self.assertEquals('', p.read(1))
|
self.assertEquals('', p.read(1))
|
||||||
|
|
||||||
def test_3_close_while_reading(self):
|
def test_3_close_while_reading(self):
|
||||||
|
|
Loading…
Reference in New Issue