summaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2019-04-18 00:49:39 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2019-04-18 00:49:39 (GMT)
commit43881bb8c282488f61e2c979ab4435d66390d8a6 (patch)
tree94e5ef6900c8c599b7261b852e75231b5286d785 /testing
parentdd1f5a85f85098b6fdfb12e6585f466ad599b48c (diff)
downloadSCons-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.py6
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