diff options
author | Greg Noel <GregNoel@tigris.org> | 2009-05-12 17:26:29 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2009-05-12 17:26:29 (GMT) |
commit | 8a44d9e2806dc21d49b6feb0800bb8d3b98d499e (patch) | |
tree | 1af9e133ff01c4dd0792f1bb45368f75c2122bf0 | |
parent | 6d5cf1b6ff0e2d1b314fb4c60338b278785d02b4 (diff) | |
download | SCons-8a44d9e2806dc21d49b6feb0800bb8d3b98d499e.zip SCons-8a44d9e2806dc21d49b6feb0800bb8d3b98d499e.tar.gz SCons-8a44d9e2806dc21d49b6feb0800bb8d3b98d499e.tar.bz2 |
Fix textfile.py breakaga on platforms with weird end-of-line conventions
-rw-r--r-- | test/textfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/textfile.py b/test/textfile.py index 2c9f5d5..27b6b40 100644 --- a/test/textfile.py +++ b/test/textfile.py @@ -142,7 +142,7 @@ line3a = 'This line has %subst% substitutions' line3b = 'This line has many substitutions' def matchem(file, lines): - lines = string.join(lines, '\n') + lines = string.join(lines, os.linesep) test.must_match(file, lines) matchem('text.txt', [line1, line2a, line3a]) |