mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 21:43:09 +00:00
test_system: write test data in 'b' verbatim mode, since on windows the default text-mode is different. Addresses one of the failures in #223
This commit is contained in:
parent
74820cc3de
commit
b085097adc
@ -1077,7 +1077,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase):
|
||||
tdir = self.getdir("cli_put")
|
||||
fileutil.make_dirs(tdir)
|
||||
fn = os.path.join(tdir, "upload_me")
|
||||
f = open(fn, "w")
|
||||
f = open(fn, "wb")
|
||||
f.write(TESTDATA)
|
||||
f.close()
|
||||
argv = ["put"] + nodeargs + [fn, "test_put/upload.txt"]
|
||||
|
Loading…
Reference in New Issue
Block a user