diff options
Diffstat (limited to 'test/Errors/UserError.py')
-rw-r--r-- | test/Errors/UserError.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Errors/UserError.py b/test/Errors/UserError.py index 0212a52..669260d 100644 --- a/test/Errors/UserError.py +++ b/test/Errors/UserError.py @@ -36,7 +36,7 @@ test = TestSCons.TestSCons(match = TestSCons.match_re_dotall) test.write('SConstruct', """ assert "UserError" not in globals() import SCons.Errors -raise SCons.Errors.UserError, 'Depends() requires both sources and targets.' +raise SCons.Errors.UserError('Depends() requires both sources and targets.') """) expect = """ |