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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e891de3cbba302b3633635c91787b5ffbd9684e2;p=python 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 93576e6a9c..f4abd2a81c 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