summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-28 08:18:44 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-28 08:18:44 (GMT)
commite891de3cbba302b3633635c91787b5ffbd9684e2 (patch)
tree752538d18ff6ab4009591142c46c0de44e1b4a16
parentd551b2857145b189c7288f9c78b5d2e9dab5ffe8 (diff)
downloadcpython-e891de3cbba302b3633635c91787b5ffbd9684e2.zip
cpython-e891de3cbba302b3633635c91787b5ffbd9684e2.tar.gz
cpython-e891de3cbba302b3633635c91787b5ffbd9684e2.tar.bz2
Fixed the wave module testing on big-endian platforms.
array.fromfile() works only with file objects, not io.FileIO instances.
-rw-r--r--Lib/test/audiotests.py2
1 files changed, 1 insertions, 1 deletions
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