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:
74820cc
)
test_system: write test data in 'b' verbatim mode, since on windows the default text...
author
Brian Warner
<warner@allmydata.com>
Wed, 12 Dec 2007 02:16:33 +0000
(19:16 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 12 Dec 2007 02:16:33 +0000
(19:16 -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 e72d8392ef9fdeed456c4b575dfed44856089e4d..048ab35398c4c581db039b7606486e668310069d 100644
(file)
--- a/
src/allmydata/test/test_system.py
+++ b/
src/allmydata/test/test_system.py
@@
-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, "w
b
")
f.write(TESTDATA)
f.close()
argv = ["put"] + nodeargs + [fn, "test_put/upload.txt"]