diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-09 14:02:57 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-09 14:02:57 (GMT) |
commit | 146a6ca32ebf381e6fee5b3210c58685d984402e (patch) | |
tree | c8750c3c9c251ac60591de42a935138dbf164775 /test/errors.py | |
parent | 1833dc465fcf538242955e4ce133dbe8b7cefc9f (diff) | |
download | SCons-146a6ca32ebf381e6fee5b3210c58685d984402e.zip SCons-146a6ca32ebf381e6fee5b3210c58685d984402e.tar.gz SCons-146a6ca32ebf381e6fee5b3210c58685d984402e.tar.bz2 |
Generalize the hard-coded line numbers in test/errors.py.
Diffstat (limited to 'test/errors.py')
-rw-r--r-- | test/errors.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/errors.py b/test/errors.py index d4b8d65..04eac9e 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) |