(self, method)
| 99 | self._callAsync(self.asyncSetUp) |
| 100 | |
| 101 | def _callTestMethod(self, method): |
| 102 | result = self._callMaybeAsync(method) |
| 103 | if result is not None: |
| 104 | msg = ( |
| 105 | f'It is deprecated to return a value that is not None ' |
| 106 | f'from a test case ({method} returned {type(result).__name__!r})', |
| 107 | ) |
| 108 | warnings.warn(msg, DeprecationWarning, stacklevel=4) |
| 109 | |
| 110 | def _callTearDown(self): |
| 111 | self._callAsync(self.asyncTearDown) |
nothing calls this directly
no test coverage detected