diff options
Diffstat (limited to 'test/Errors/InternalError.py')
-rw-r--r-- | test/Errors/InternalError.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Errors/InternalError.py b/test/Errors/InternalError.py index 032c7a7..49d9fdd 100644 --- a/test/Errors/InternalError.py +++ b/test/Errors/InternalError.py @@ -35,7 +35,7 @@ test = TestSCons.TestSCons(match = TestSCons.match_re_dotall) # Test InternalError. test.write('SConstruct', """ -assert not globals().has_key("InternalError") +assert "InternalError" not in globals() from SCons.Errors import InternalError raise InternalError, 'error inside' """) |