Skip to content

Commit 4978639

Browse files
committed
MAINT: use relative imports in the plugin
1 parent 5f0644e commit 4978639

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

scpdt/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from scpdt.impl import DTConfig
1+
from .impl import DTConfig
22

33

44
dt_config = DTConfig()

scpdt/plugin.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@
55
import warnings
66
import doctest
77

8-
98
import pytest
109
import _pytest
1110
from _pytest import doctest as pydoctest, outcomes
1211
from _pytest.doctest import DoctestModule, DoctestTextfile
1312
from _pytest.pathlib import import_path
1413

15-
from scpdt.impl import DTParser, DebugDTRunner
16-
from scpdt.conftest import dt_config
17-
from scpdt.util import np_errstate, matplotlib_make_nongui, temp_cwd
18-
from scpdt.frontend import find_doctests
14+
from .impl import DTParser, DebugDTRunner
15+
from .conftest import dt_config
16+
from .util import np_errstate, matplotlib_make_nongui, temp_cwd
17+
from .frontend import find_doctests
1918

2019

2120
def pytest_addoption(parser):

0 commit comments

Comments
 (0)