fix stream bugs

This commit is contained in:
Roman Zeyde
2014-08-07 14:14:08 +03:00
parent 89b37ae285
commit 99de92c7e8
6 changed files with 27 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ def test_read():
j = 0
for i, buf in result:
assert i == j
assert len(buf) == f.SAMPLES
assert len(buf) == f.bufsize
j += 1
try: