diff --git a/pytest.ini b/pytest.ini index 38541b2..98110ba 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,8 +1,8 @@ [pytest] norecursedirs=dist build .tox .eggs addopts= - # doctests disabled due to pytest-dev/pytest#3396 - # --doctest-modules + --doctest-modules + --import-mode importlib filterwarnings= ## upstream diff --git a/tests/test_configparser.py b/tests/test_configparser.py index 6270f43..07c62ca 100644 --- a/tests/test_configparser.py +++ b/tests/test_configparser.py @@ -8,7 +8,7 @@ from typing import Type, Iterable -from compat import support, os_helper +from .compat import support, os_helper from backports import configparser