projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e92dfc
)
test_system: fix windows test failure, open files with binary mode
author
Brian Warner
<warner@lothar.com>
Tue, 20 May 2008 03:24:12 +0000
(20:24 -0700)
committer
Brian Warner
<warner@lothar.com>
Tue, 20 May 2008 03:24:12 +0000
(20:24 -0700)
src/allmydata/test/test_system.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/test_system.py
b/src/allmydata/test/test_system.py
index 3ff82f9d3fd80b738e24ecb0fe2e9fe3719bc410..0d7d587344cf024dafab1198c4fa598e91218c3b 100644
(file)
--- a/
src/allmydata/test/test_system.py
+++ b/
src/allmydata/test/test_system.py
@@
-1587,7
+1587,7
@@
class SystemTest(testutil.SignalMixin, testutil.PollMixin, testutil.StallMixin,
files.append(fn)
data = "data to be uploaded: file%d\n" % i
datas.append(data)
- open(fn,"w").write(data)
+ open(fn,"w
b
").write(data)
# test all both forms of put: from a file, and from stdin
# tahoe put bar FOO