From 4ed7f0ac2a14846715a5a173192212e337aa9f80 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 16 Aug 2007 14:14:41 -0700 Subject: [PATCH] fix small bug in unit tests which caused spurious failures on Windows --- src/allmydata/test/test_web.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.45.2