From: Serhiy Storchaka Date: Sat, 28 Dec 2013 08:18:44 +0000 (+0200) Subject: Fixed the wave module testing on big-endian platforms. X-Git-Tag: v2.7.8~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e891de3cbba302b3633635c91787b5ffbd9684e2;p=thirdparty%2FPython%2Fcpython.git 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 93576e6a9ce2..f4abd2a81cb6 100644 --- a/Lib/test/audiotests.py +++ b/Lib/test/audiotests.py @@ -6,7 +6,7 @@ import pickle import sys import base64 -class UnseekableIO(io.FileIO): +class UnseekableIO(file): def tell(self): raise io.UnsupportedOperation