MCPcopy Create free account
hub / github.com/catboost/catboost / is_doctest_module

Function is_doctest_module

library/python/pytest/main.py:76–80  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

74 doctest_packages = doctest_packages.split()
75
76 def is_doctest_module(name):
77 for package in doctest_packages:
78 if name == package or name.startswith(str(package) + "."):
79 return True
80 return False
81
82 doctest_modules = [
83 # fmt: off

Callers 1

mainFunction · 0.85

Calls 1

strClass · 0.50

Tested by

no test coverage detected