From f198eb12860e0300e1a041485b2a3c3953fb610d Mon Sep 17 00:00:00 2001 From: stevenknight Date: Thu, 18 Feb 2010 14:28:50 +0000 Subject: [PATCH] Fix the test on all Python versions (failed on versions before 2.5 due to some regex problem). git-svn-id: http://scons.tigris.org/svn/scons/trunk@4678 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/Builder/not-a-Builder.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/Builder/not-a-Builder.py b/test/Builder/not-a-Builder.py index 355dc77a..37ce6056 100644 --- a/test/Builder/not-a-Builder.py +++ b/test/Builder/not-a-Builder.py @@ -44,13 +44,12 @@ env.mkdir(env.Dir('src'), None) expect_stderr = """\ -scons: \\*\\*\\* .* is not a Builder\\. +scons: *** 1 is not a Builder. """ + test.python_file_line(SConstruct_path, 4) test.run(arguments='.', stderr=expect_stderr, - status=2, - match=TestSCons.match_re) + status=2) test.pass_test() -- 2.26.2