(methodname, exception, suiteClass)
| 49 | return suiteClass((test,)), message |
| 50 | |
| 51 | def _make_skipped_test(methodname, exception, suiteClass): |
| 52 | @case.skip(str(exception)) |
| 53 | def testSkipped(self): |
| 54 | pass |
| 55 | attrs = {methodname: testSkipped} |
| 56 | TestClass = type("ModuleSkipped", (case.TestCase,), attrs) |
| 57 | return suiteClass((TestClass(methodname),)) |
| 58 | |
| 59 | def _splitext(path): |
| 60 | return os.path.splitext(path)[0] |
no test coverage detected
searching dependent graphs…