diff options
author | Mats Wichmann <mats@linux.com> | 2022-07-08 14:14:47 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2022-07-08 14:14:47 (GMT) |
commit | cc23b57dd458985cadaed93c4b0da00f8f5eba88 (patch) | |
tree | 7dbd5b0d11a28bbcac61fb66e77e260cbb5abe13 /testing | |
parent | 07dc10b25b6169c9fb7e16dd78de8bb9ea107be6 (diff) | |
download | SCons-cc23b57dd458985cadaed93c4b0da00f8f5eba88.zip SCons-cc23b57dd458985cadaed93c4b0da00f8f5eba88.tar.gz SCons-cc23b57dd458985cadaed93c4b0da00f8f5eba88.tar.bz2 |
[Test] drop old exception msgs
Minor maintenance to drop a regex group in a few tests (including in
a test framework test) which allowed for two different exception
messages: one belongs to very old Pythons which are no longer
supported by SCons.
Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'testing')
-rw-r--r-- | testing/framework/TestCommonTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/framework/TestCommonTests.py b/testing/framework/TestCommonTests.py index c8ea130..1f8db42 100644 --- a/testing/framework/TestCommonTests.py +++ b/testing/framework/TestCommonTests.py @@ -1943,7 +1943,7 @@ class run_TestCase(TestCommonTestCase): expect_stderr = lstrip("""\ Exception trying to execute: \\[%s, '[^']*pass'\\] - Traceback \\((innermost|most recent call) last\\): + Traceback \\(most recent call last\\): File "<stdin>", line \\d+, in (\\?|<module>) File "[^"]+TestCommon.py", line \\d+, in run TestCmd.run\\(self, \\*\\*kw\\) |