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

Method test_pdb_validate_usepdb_cls

testing/test_debugging.py:863–869  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

861 )
862
863 def test_pdb_validate_usepdb_cls(self):
864 assert _validate_usepdb_cls("os.path:dirname.__name__") == (
865 "os.path",
866 "dirname.__name__",
867 )
868
869 assert _validate_usepdb_cls("pdb:DoesNotExist") == ("pdb", "DoesNotExist")
870
871 def test_pdb_custom_cls_without_pdb(
872 self, pytester: Pytester, custom_pdb_calls: List[str]

Callers

nothing calls this directly

Calls 1

_validate_usepdb_clsFunction · 0.90

Tested by

no test coverage detected