mirror of
https://github.com/romanz/amodem.git
synced 2026-02-06 08:38:06 +08:00
fix bytes/str error
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user