(cls)
| 453 | |
| 454 | class TestTrialUnittest: |
| 455 | def setup_class(cls): |
| 456 | cls.ut = pytest.importorskip("twisted.trial.unittest") |
| 457 | # on windows trial uses a socket for a reactor and apparently doesn't close it properly |
| 458 | # https://twistedmatrix.com/trac/ticket/9227 |
| 459 | cls.ignore_unclosed_socket_warning = ("-W", "always") |
| 460 | |
| 461 | def test_trial_testcase_runtest_not_collected(self, pytester: Pytester) -> None: |
| 462 | pytester.makepyfile( |
nothing calls this directly
no outgoing calls
no test coverage detected