MCPcopy
hub / github.com/pytest-dev/pytest / test_with_not

Method test_with_not

testing/acceptance_test.py:1035–1038  ·  view source on GitHub ↗
(self, pytester: Pytester, mock_timing)

Source from the content-addressed store, hash-verified

1033 result.stdout.no_fnmatch_line("*duration*")
1034
1035 def test_with_not(self, pytester: Pytester, mock_timing) -> None:
1036 pytester.makepyfile(self.source)
1037 result = pytester.runpytest_inprocess("-k not 1")
1038 assert result.ret == 0
1039
1040
1041class TestDurationsWithFixture:

Callers

nothing calls this directly

Calls 2

makepyfileMethod · 0.45
runpytest_inprocessMethod · 0.45

Tested by

no test coverage detected