From 68867e0452433e4bf6623f6e2c445ca0bb2589dc Mon Sep 17 00:00:00 2001 From: gregnoel Date: Tue, 12 May 2009 17:26:29 +0000 Subject: [PATCH] Fix textfile.py breakaga on platforms with weird end-of-line conventions git-svn-id: http://scons.tigris.org/svn/scons/trunk@4192 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/textfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.26.2