mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 19:34:18 +00:00
fix small bug in unit tests which caused spurious failures on Windows
This commit is contained in:
parent
a431811011
commit
4ed7f0ac2a
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user