mirror of
https://github.com/romanz/amodem.git
synced 2026-02-06 16:48:06 +08:00
fix stream implementation
This commit is contained in:
@@ -31,5 +31,5 @@ def test_read():
|
||||
try:
|
||||
for buf in f:
|
||||
pass
|
||||
except IOError as e:
|
||||
assert str(e) == 'timeout'
|
||||
except stream.Timeout as e:
|
||||
assert e.args == (f.timeout,)
|
||||
|
||||
Reference in New Issue
Block a user