[Python-checkins] r72434 - python/trunk/Lib/test/test_aifc.py
r.david.murray
python-checkins at python.org
Thu May 7 20:09:58 CEST 2009
Author: r.david.murray
Date: Thu May 7 20:09:58 2009
New Revision: 72434
Log:
Pre-opened test file needs to be opened in binary mode.
Modified:
python/trunk/Lib/test/test_aifc.py
Modified: python/trunk/Lib/test/test_aifc.py
==============================================================================
--- python/trunk/Lib/test/test_aifc.py (original)
+++ python/trunk/Lib/test/test_aifc.py Thu May 7 20:09:58 2009
@@ -94,7 +94,7 @@
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()
More information about the Python-checkins
mailing list