Bug #1529143 “TestSkipped not worth the hassle” : Bugs : testtools (original) (raw)
TestSkipped not worth the hassle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone |
---|---|---|---|---|
testtools | Triaged | Low | Unassigned |
Bug Description
stdlib unittest and unittest2 just raise SkipTest and don't have a `skipException` variable like we do. Some code (e.g. https://github.com/ClusterHQ/eliot/blob/master/eliot/testing.py#L301) hard codes checking for SkipTest as a way of telling if a test was skipped.
Is there any value in having our own special TestSkipped exception? Can we just change skipException to unittest.SkipTest?