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

Method add_stats

src/_pytest/junitxml.py:523–525  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

521 return reporter
522
523 def add_stats(self, key: str) -> None:
524 if key in self.stats:
525 self.stats[key] += 1
526
527 def _opentestcase(self, report: TestReport) -> _NodeReporter:
528 reporter = self.node_reporter(report)

Callers 2

appendMethod · 0.80
append_passMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected