From 6dd9edd9c849f3b42a25dc512d750cd3be83e234 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Wed, 20 Apr 2022 18:44:46 -0600 Subject: [PATCH] Disable doctests in modules Enabling --doctest-modules seems to cause the ImportPathMismatchError mentioned in Issue #64. The only two doctests in the modules can be found in doctype.py, and they don't seem to provide any additional coverage to what is already in test_doctype.py, therefore let's just disable them. --- pytest.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index 0392953..b06d96e 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,8 +1,7 @@ [pytest] addopts = - --doctest-modules --doctest-glob=*.rst --ignore=speedtest.py --ignore=release_new_version.py - --ignore=kajiki/integration/pyramid.py + --ignore=kajiki doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL