fix bytes/str error

This commit is contained in:
Roman Zeyde
2014-08-09 15:25:51 +03:00
parent 9985a88310
commit 12e8e5dda7

View File

@@ -15,7 +15,7 @@ def test_resample():
assert np.max(np.abs(err)) < 1e-4
dst = BytesIO()
sampling.resample(src=BytesIO('\x00\x00'), dst=dst, df=0.0)
sampling.resample(src=BytesIO(b'\x00\x00'), dst=dst, df=0.0)
assert dst.tell() == 0