def load_tests(loader, tests, ignore):
"""
Creates a ``DocTestSuite`` for each module named in ``DOCTEST_MODULES``
and adds it to the test run.
"""
for module in DOCTEST_MODULES:
tests.addTests(doctest.DocTestSuite(module))
return tests
test_docstrings.py 文件源码
python
阅读 27
收藏 0
点赞 0
评论 0
评论列表
文章目录