diff options
author | William Deegan <bill@baddogconsulting.com> | 2019-04-18 00:49:39 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2019-04-18 00:49:39 (GMT) |
commit | 43881bb8c282488f61e2c979ab4435d66390d8a6 (patch) | |
tree | 94e5ef6900c8c599b7261b852e75231b5286d785 /testing | |
parent | dd1f5a85f85098b6fdfb12e6585f466ad599b48c (diff) | |
download | SCons-43881bb8c282488f61e2c979ab4435d66390d8a6.zip SCons-43881bb8c282488f61e2c979ab4435d66390d8a6.tar.gz SCons-43881bb8c282488f61e2c979ab4435d66390d8a6.tar.bz2 |
Issue #3350 - Refactor EnvironmentError to SConsEnvironmentError to avoid overriding python's native EnvironmentError
Diffstat (limited to 'testing')
-rw-r--r-- | testing/framework/TestCmdTests.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/framework/TestCmdTests.py b/testing/framework/TestCmdTests.py index 0b6aab9..d6922d9 100644 --- a/testing/framework/TestCmdTests.py +++ b/testing/framework/TestCmdTests.py @@ -1634,7 +1634,7 @@ class rmdir_TestCase(TestCmdTestCase): except EnvironmentError: pass else: - raise Exception("did not catch expected EnvironmentError") + raise Exception("did not catch expected SConsEnvironmentError") test.subdir(['sub'], ['sub', 'dir'], @@ -1649,7 +1649,7 @@ class rmdir_TestCase(TestCmdTestCase): except EnvironmentError: pass else: - raise Exception("did not catch expected EnvironmentError") + raise Exception("did not catch expected SConsEnvironmentError") assert os.path.isdir(s_d_o), "%s is gone?" % s_d_o @@ -1658,7 +1658,7 @@ class rmdir_TestCase(TestCmdTestCase): except EnvironmentError: pass else: - raise Exception("did not catch expected EnvironmentError") + raise Exception("did not catch expected SConsEnvironmentError") assert os.path.isdir(s_d_o), "%s is gone?" % s_d_o |