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

Function _get_allow_bytes_flag

src/_pytest/doctest.py:699–703  ·  view source on GitHub ↗

Register and return the ALLOW_BYTES flag.

()

Source from the content-addressed store, hash-verified

697
698
699def _get_allow_bytes_flag() -> int:
700 """Register and return the ALLOW_BYTES flag."""
701 import doctest
702
703 return doctest.register_optionflag("ALLOW_BYTES")
704
705
706def _get_number_flag() -> int:

Callers 2

_get_flag_lookupFunction · 0.85
check_outputMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected