summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_aifc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_aifc.py b/Lib/test/test_aifc.py
index 2f4350d0ea..d6b7942926 100644
--- a/Lib/test/test_aifc.py
+++ b/Lib/test/test_aifc.py
@@ -48,7 +48,7 @@ class AIFCTest(unittest.TestCase):
def test_close(self):
class Wrapfile(object):
def __init__(self, file):
- self.file = open(file)
+ self.file = open(file, 'rb')
self.closed = False
def close(self):
self.file.close()