MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_pdb_on_skip

Method test_pdb_on_skip

testing/test_debugging.py:123–133  ·  view source on GitHub ↗
(self, pytester, pdblist)

Source from the content-addressed store, hash-verified

121 assert not pdblist
122
123 def test_pdb_on_skip(self, pytester, pdblist) -> None:
124 rep = runpdb_and_get_report(
125 pytester,
126 """
127 import pytest
128 def test_func():
129 pytest.skip("hello")
130 """,
131 )
132 assert rep.skipped
133 assert len(pdblist) == 0
134
135 def test_pdb_on_BdbQuit(self, pytester, pdblist) -> None:
136 rep = runpdb_and_get_report(

Callers

nothing calls this directly

Calls 1

runpdb_and_get_reportFunction · 0.85

Tested by

no test coverage detected