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

Function schema

testing/test_junitxml.py:29–33  ·  testing/test_junitxml.py::schema

Return an xmlschema.XMLSchema object for the junit-10.xsd file.

()

Source from the content-addressed store, hash-verified

27
28@pytest.fixture(scope=class="st">"session")
29def schema() -> xmlschema.XMLSchema:
30 class="st">""class="st">"Return an xmlschema.XMLSchema object for the junit-10.xsd file."class="st">""
31 fn = Path(__file__).parent / class="st">"example_scripts/junit-10.xsd"
32 with fn.open(encoding=class="st">"utf-8") as f:
33 return xmlschema.XMLSchema(f)
34
35
36class RunAndParse:

Callers

nothing calls this directly

Calls 1

openMethod · 0.80

Tested by

no test coverage detected