默认情况下,所有匹配 test*.txt 模式将通过python标准运行 doctest 模块。您可以通过发出以下命令 ... content of pytest.ini [pytest] addopts = --doctest-modules ...
確定! 回上一頁