Run the test without collecting errors in a TestResult
(self)
| 730 | return self.run(*args, **kwds) |
| 731 | |
| 732 | def debug(self): |
| 733 | """Run the test without collecting errors in a TestResult""" |
| 734 | testMethod = getattr(self, self._testMethodName) |
| 735 | if (getattr(self.__class__, "__unittest_skip__", False) or |
| 736 | getattr(testMethod, "__unittest_skip__", False)): |
| 737 | # If the class or method was skipped. |
| 738 | skip_why = (getattr(self.__class__, '__unittest_skip_why__', '') |
| 739 | or getattr(testMethod, '__unittest_skip_why__', '')) |
| 740 | raise SkipTest(skip_why) |
| 741 | |
| 742 | self._callSetUp() |
| 743 | self._callTestMethod(testMethod) |
| 744 | self._callTearDown() |
| 745 | while self._cleanups: |
| 746 | function, args, kwargs = self._cleanups.pop() |
| 747 | self._callCleanup(function, *args, **kwargs) |
| 748 | |
| 749 | def skipTest(self, reason): |
| 750 | """Skip this test.""" |
nothing calls this directly
no test coverage detected