Skip to content

Commit e3f8c20

Browse files
committed
Do the clr import later to not interfere with other test imports
1 parent 3ae7026 commit e3f8c20

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tests/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import sysconfig
1111

1212
import pytest
13-
import clr
1413

1514
# Add path for `Python.Test`
1615
cwd = os.path.dirname(__file__)
@@ -24,6 +23,8 @@
2423

2524
sys.path.append(fixtures_path)
2625

26+
import clr
27+
2728
# Add References for tests
2829
clr.AddReference("Python.Test")
2930
clr.AddReference("System.Collections")

0 commit comments

Comments
 (0)