From: Zooko O'Whielacronx Date: Thu, 16 Aug 2007 21:14:41 +0000 (-0700) Subject: fix small bug in unit tests which caused spurious failures on Windows X-Git-Url: https://git.rkrishnan.org/junkers?a=commitdiff_plain;h=4ed7f0ac2a14846715a5a173192212e337aa9f80;p=tahoe-lafs%2Ftahoe-lafs.git fix small bug in unit tests which caused spurious failures on Windows --- diff --git a/src/allmydata/test/test_web.py b/src/allmydata/test/test_web.py index 5eedb796..b1edc1e1 100644 --- a/src/allmydata/test/test_web.py +++ b/src/allmydata/test/test_web.py @@ -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()