tweak a test that relied too much on timing
This commit is contained in:
Robey Pointer 2006-04-20 00:27:22 -07:00
parent abb7f1f1ba
commit 5c2c949b1e
1 changed files with 1 additions and 1 deletions

View File

@ -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):