Commit f7e7babb authored by R. David Murray's avatar R. David Murray

Pre-opened test file needs to be opened in binary mode.

parent d3bf34cd
......@@ -94,7 +94,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