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

Function get_optionflags

src/_pytest/doctest.py:395–401  ·  view source on GitHub ↗
(parent)

Source from the content-addressed store, hash-verified

393
394
395def get_optionflags(parent):
396 optionflags_str = parent.config.getini("doctest_optionflags")
397 flag_lookup_table = _get_flag_lookup()
398 flag_acc = 0
399 for flag in optionflags_str:
400 flag_acc |= flag_lookup_table[flag]
401 return flag_acc
402
403
404def _get_continue_on_failure(config):

Callers 2

collectMethod · 0.85
collectMethod · 0.85

Calls 2

_get_flag_lookupFunction · 0.85
getiniMethod · 0.45

Tested by

no test coverage detected