diff --git twisted/python/failure.py twisted/python/failure.py
index ed03281..0016ce7 100644
|
|
|
|
| 140 | 140 | self.co_filename = filename |
| 141 | 141 | |
| 142 | 142 | |
| 143 | | class Failure: |
| | 143 | class Failure(BaseException): |
| 144 | 144 | """ |
| 145 | 145 | A basic abstraction for an error that has occurred. |
| 146 | 146 | |
diff --git twisted/test/test_failure.py twisted/test/test_failure.py
index 3963f8c..f2fd0e4 100644
|
|
|
|
| 554 | 554 | origInit = failure.Failure.__dict__['__init__'] |
| 555 | 555 | def restore(): |
| 556 | 556 | pdb.post_mortem = post_mortem |
| 557 | | failure.Failure.__dict__['__init__'] = origInit |
| | 557 | setattr(failure.Failure, '__init__', origInit) |
| 558 | 558 | self.addCleanup(restore) |
| 559 | 559 | |
| 560 | 560 | self.result = [] |