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

Function schema

testing/test_junitxml.py:29–33  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

27
28@pytest.fixture(scope="session")
29def schema() -> xmlschema.XMLSchema:
30 """Return an xmlschema.XMLSchema object for the junit-10.xsd file."""
31 fn = Path(__file__).parent / "example_scripts/junit-10.xsd"
32 with fn.open(encoding="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

Used in the wild real call sites across dependent graphs

searching dependent graphs…