mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-10 12:20:02 +00:00
test_system: fix windows test failure, open files with binary mode
This commit is contained in:
parent
8e92dfcb50
commit
506ce2dfd0
@ -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,"wb").write(data)
|
||||
|
||||
# test all both forms of put: from a file, and from stdin
|
||||
# tahoe put bar FOO
|
||||
|
Loading…
x
Reference in New Issue
Block a user