fix small bug in unit tests which caused spurious failures on Windows

This commit is contained in:
Zooko O'Whielacronx 2007-08-16 14:14:41 -07:00
parent a431811011
commit 4ed7f0ac2a

View File

@ -817,7 +817,7 @@ class Web(WebMixin, unittest.TestCase):
def touch(self, localdir, filename):
path = os.path.join(localdir, filename)
f = open(path, "w")
f = open(path, "wb")
f.write("contents of %s\n" % filename)
f.close()