commit | e891de3cbba302b3633635c91787b5ffbd9684e2 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sat Dec 28 10:18:44 2013 +0200 |
committer | Serhiy Storchaka <storchaka@gmail.com> | Sat Dec 28 10:18:44 2013 +0200 |
tree | 752538d18ff6ab4009591142c46c0de44e1b4a16 | |
parent | d551b2857145b189c7288f9c78b5d2e9dab5ffe8 [diff] [blame] |
Fixed the wave module testing on big-endian platforms. array.fromfile() works only with file objects, not io.FileIO instances.
diff --git a/Lib/test/audiotests.py b/Lib/test/audiotests.py index 93576e6..f4abd2a 100644 --- a/Lib/test/audiotests.py +++ b/Lib/test/audiotests.py
@@ -6,7 +6,7 @@ import sys import base64 -class UnseekableIO(io.FileIO): +class UnseekableIO(file): def tell(self): raise io.UnsupportedOperation