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

Class MyPathLike

testing/test_reports.py:235–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 )
234
235 class MyPathLike:
236 def __init__(self, path: str) -> None:
237 self.path = path
238
239 def __fspath__(self) -> str:
240 return self.path
241
242 reprec = pytester.inline_run()
243 reports = reprec.getreports("pytest_runtest_logreport")

Callers 1

test_paths_supportMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_paths_supportMethod · 0.68