diff options
Diffstat (limited to 'src/engine/SCons/TaskmasterTests.py')
-rw-r--r-- | src/engine/SCons/TaskmasterTests.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/engine/SCons/TaskmasterTests.py b/src/engine/SCons/TaskmasterTests.py index 1803eee..f74cf34 100644 --- a/src/engine/SCons/TaskmasterTests.py +++ b/src/engine/SCons/TaskmasterTests.py @@ -681,16 +681,6 @@ class TaskmasterTestCase(unittest.TestCase): assert built_text == "MyTM.stop()" assert tm.next_task() is None - def test_failed(self): - """Test when a task has failed - """ - n1 = Node("n1") - tm = SCons.Taskmaster.Taskmaster([n1]) - t = tm.next_task() - assert t.targets == [n1], map(str, t.targets) - tm.failed(n1) - assert t.targets == [n1], map(str, t.targets) - def test_executed(self): """Test when a task has been executed """ @@ -974,20 +964,6 @@ class TaskmasterTestCase(unittest.TestCase): else: assert 0, "did not catch expected exception" - t.exception_set(("exception 4", "XYZZY")) - def fw_exc(exc): - raise 'exception_forwarded', exc - tm.exception_raise = fw_exc - try: - t.exception_raise() - except: - exc_type, exc_value = sys.exc_info()[:2] - assert exc_type == 'exception_forwarded', exc_type - assert exc_value[0] == "exception 4", exc_value[0] - assert exc_value[1] == "XYZZY", exc_value[1] - else: - assert 0, "did not catch expected exception" - def test_postprocess(self): """Test postprocessing targets to give them a chance to clean up """ |