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

Method istestclass

src/_pytest/python.py:394–395  ·  view source on GitHub ↗
(self, obj: object, name: str)

Source from the content-addressed store, hash-verified

392 return False
393
394 def istestclass(self, obj: object, name: str) -> bool:
395 return self.classnamefilter(name) or self.isnosetest(obj)
396
397 def _matches_prefix_or_glob_option(self, option_name: str, name: str) -> bool:
398 """Check if the given name matches the prefix or glob-pattern defined

Callers 1

Calls 2

classnamefilterMethod · 0.95
isnosetestMethod · 0.95

Tested by

no test coverage detected