diff options
author | Greg Noel <GregNoel@tigris.org> | 2009-05-12 17:26:29 +0000 |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2009-05-12 17:26:29 +0000 |
commit | 9a84379a68eb83d1de88e0c5be425ce8caaf85ab (patch) | |
tree | 1af9e133ff01c4dd0792f1bb45368f75c2122bf0 /test/textfile.py | |
parent | 16035b754d51b9bd83220863597e67f2c7082e3f (diff) | |
download | scons-9a84379a68eb83d1de88e0c5be425ce8caaf85ab.tar.gz |
Fix textfile.py breakaga on platforms with weird end-of-line conventions
Diffstat (limited to 'test/textfile.py')
-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 2c9f5d55..27b6b40b 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]) |