diff options
author | Steven Knight <knight@baldmt.com> | 2002-01-15 13:55:17 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-01-15 13:55:17 (GMT) |
commit | 4f1715fd6ff09cd910099cf250cbb5e23ee5ca85 (patch) | |
tree | 579aedbb29f18aac291e26d2f521aafd55d043ea /src/engine/SCons/ErrorsTests.py | |
parent | f1743c83435f365ca75f7887267cd5773475e6cc (diff) | |
download | SCons-4f1715fd6ff09cd910099cf250cbb5e23ee5ca85.zip SCons-4f1715fd6ff09cd910099cf250cbb5e23ee5ca85.tar.gz SCons-4f1715fd6ff09cd910099cf250cbb5e23ee5ca85.tar.bz2 |
Document function Actions and fix their return values (None == success, don't ignore failures).
Diffstat (limited to 'src/engine/SCons/ErrorsTests.py')
-rw-r--r-- | src/engine/SCons/ErrorsTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/ErrorsTests.py b/src/engine/SCons/ErrorsTests.py index 2612c95..31ad119 100644 --- a/src/engine/SCons/ErrorsTests.py +++ b/src/engine/SCons/ErrorsTests.py @@ -32,10 +32,10 @@ class ErrorsTestCase(unittest.TestCase): def test_BuildError(self): """Test the BuildError exception.""" try: - raise SCons.Errors.BuildError(node = "n", stat = 7) + raise SCons.Errors.BuildError(node = "n", errstr = "foo") except SCons.Errors.BuildError, e: assert e.node == "n" - assert e.stat == 7 + assert e.errstr == "foo" def test_InternalError(self): """Test the InternalError exception.""" |