Commit 7eaa9920 authored by R. David Murray's avatar R. David Murray

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.
........
parent d0a45396
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment