From e891de3cbba302b3633635c91787b5ffbd9684e2 Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Sat, 28 Dec 2013 10:18:44 +0200 Subject: Fixed the wave module testing on big-endian platforms. array.fromfile() works only with file objects, not io.FileIO instances. --- Lib/test/audiotests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 pickle import sys import base64 -class UnseekableIO(io.FileIO): +class UnseekableIO(file): def tell(self): raise io.UnsupportedOperation -- cgit v0.12