mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +00:00
Make test_wave.py pass.
I have no illusion that this fixes all issues with this module.
This commit is contained in:
parent
f761e104f6
commit
51a883bf87
2 changed files with 6 additions and 6 deletions
|
@ -16,7 +16,7 @@ f.setnchannels(nchannels)
|
|||
f.setsampwidth(sampwidth)
|
||||
f.setframerate(framerate)
|
||||
f.setnframes(nframes)
|
||||
output = '\0' * nframes * nchannels * sampwidth
|
||||
output = b'\0' * nframes * nchannels * sampwidth
|
||||
f.writeframes(output)
|
||||
f.close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue