summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2009-05-07 18:25:20 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2009-05-07 18:25:20 (GMT)
commit7eaa99206674826720e622acff5576b637f3d69e (patch)
tree1953c93c3094f5ea23336b3becdbc9130b9b3d93 /Lib
parentd0a45396326fa8fece0f7d5414b88afb5a4704f9 (diff)
downloadcpython-7eaa99206674826720e622acff5576b637f3d69e.zip
cpython-7eaa99206674826720e622acff5576b637f3d69e.tar.gz
cpython-7eaa99206674826720e622acff5576b637f3d69e.tar.bz2
Merged revisions 72434 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72434 | r.david.murray | 2009-05-07 14:09:58 -0400 (Thu, 07 May 2009) | 2 lines Pre-opened test file needs to be opened in binary mode. ........
Diffstat (limited to 'Lib')
-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 2f4350d..d6b7942 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()