MCPcopy Index your code
hub / github.com/python/mypy / pytest_sessionstart

Function pytest_sessionstart

mypy/test/data.py:602–606  ·  view source on GitHub ↗
(session: Any)

Source from the content-addressed store, hash-verified

600
601
602def pytest_sessionstart(session: Any) -> None:
603 # Clean up directory where mypyc tests write intermediate files on failure
604 # to avoid any confusion between test runs
605 if os.path.isdir(mypyc_output_dir):
606 shutil.rmtree(mypyc_output_dir)
607
608
609# This function name is special to pytest. See

Callers

nothing calls this directly

Calls 1

isdirMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…