diff options
author | R David Murray <rdmurray@bitdance.com> | 2013-03-18 21:42:42 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2013-03-18 21:42:42 (GMT) |
commit | 1a48b9dd7dacbb298da2632a5196190de01587bb (patch) | |
tree | 39f5345d03ffa9ef3346283b94a7f7e3527689b0 /Lib/test/test_sndhdr.py | |
parent | 052ddb01b37287c43ef595f6c8381a5eeb1dcb79 (diff) | |
download | cpython-1a48b9dd7dacbb298da2632a5196190de01587bb.zip cpython-1a48b9dd7dacbb298da2632a5196190de01587bb.tar.gz cpython-1a48b9dd7dacbb298da2632a5196190de01587bb.tar.bz2 |
#5024: whichhdr now returns the frame count for WAV files.
Patch by Ned Jackson Lovely based on a suggestion by Robert Pyle.
Diffstat (limited to 'Lib/test/test_sndhdr.py')
-rw-r--r-- | Lib/test/test_sndhdr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_sndhdr.py b/Lib/test/test_sndhdr.py index 1004688..5e0abe0 100644 --- a/Lib/test/test_sndhdr.py +++ b/Lib/test/test_sndhdr.py @@ -12,7 +12,7 @@ class TestFormats(unittest.TestCase): ('sndhdr.hcom', ('hcom', 22050.0, 1, -1, 8)), ('sndhdr.sndt', ('sndt', 44100, 1, 5, 8)), ('sndhdr.voc', ('voc', 0, 1, -1, 8)), - ('sndhdr.wav', ('wav', 44100, 2, -1, 16)), + ('sndhdr.wav', ('wav', 44100, 2, 5, 16)), ): filename = findfile(filename, subdir="sndhdrdata") what = sndhdr.what(filename) |