Skip to content

Commit 5e7d48d

Browse files
committed
Make tests do relative imports
1 parent c33d49f commit 5e7d48d

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/__init__.py

Whitespace-only changes.

tests/test_asyncio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import atexit
44
import signal
55
import pytest
6-
from tests.conftest import SubprocessIOC, PV_PREFIX
6+
from .conftest import SubprocessIOC, PV_PREFIX
77

88

99
def aioca_cleanup():

tests/test_cothread.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import sys
22
import signal
3-
from tests.conftest import SubprocessIOC, PV_PREFIX
3+
from .conftest import SubprocessIOC, PV_PREFIX
44
import pytest
55

66

tests/test_records.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from softioc import builder
44

5-
import sim_records
5+
from . import sim_records
66

77

88
def test_records(tmp_path):

0 commit comments

Comments
 (0)