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