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

Class MyPathLike

testing/test_reports.py:236–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 )
235
236 class MyPathLike:
237 def __init__(self, path: str) -> None:
238 self.path = path
239
240 def __fspath__(self) -> str:
241 return self.path
242
243 reprec = pytester.inline_run()
244 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…