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

Function record_func

src/_pytest/junitxml.py:368–371  ·  view source on GitHub ↗

No-op function in case --junitxml was not passed in the command-line.

(name: str, value: object)

Source from the content-addressed store, hash-verified

366 __tracebackhide__ = True
367
368 def record_func(name: str, value: object) -> None:
369 """No-op function in case --junitxml was not passed in the command-line."""
370 __tracebackhide__ = True
371 _check_record_param_type("name", name)
372
373 xml = request.config.stash.get(xml_key, None)
374 if xml is not None:

Callers

nothing calls this directly

Calls 1

_check_record_param_typeFunction · 0.85

Tested by

no test coverage detected