From 0d8b3810e6c1df71c6a6b4312d2404af3a62412c Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sun, 9 Sep 2001 14:02:57 +0000 Subject: [PATCH] Generalize the hard-coded line numbers in test/errors.py. git-svn-id: http://scons.tigris.org/svn/scons/trunk@32 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/errors.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/errors.py b/test/errors.py index d4b8d65d..04eac9e5 100644 --- a/test/errors.py +++ b/test/errors.py @@ -46,11 +46,11 @@ raise InternalError, 'error inside' """) test.run(chdir = '.', arguments='-f SConstruct3') expect = r"""Traceback \((most recent call|innermost) last\): - File "%s", line 163, in \? + File "%s", line \d+, in \? main\(\) - File "%s", line 153, in main + File "%s", line \d+, in main execfile\(file\) - File "SConstruct3", line 2, in \? + File "SConstruct3", line \d+, in \? raise InternalError, 'error inside' InternalError: error inside """ % (sconspath, sconspath) -- 2.26.2