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

Function _get_number_flag

src/_pytest/doctest.py:696–700  ·  view source on GitHub ↗

Register and return the NUMBER flag.

()

Source from the content-addressed store, hash-verified

694
695
696def _get_number_flag() -> int:
697 """Register and return the NUMBER flag."""
698 import doctest
699
700 return doctest.register_optionflag("NUMBER")
701
702
703def _get_report_choice(key: str) -> int:

Callers 2

_get_flag_lookupFunction · 0.85
check_outputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected