Skip to content
Prev Previous commit
Do the clr import later to not interfere with other test imports
  • Loading branch information
filmor committed Dec 10, 2020
commit e3f8c2099ed4099f516a7ce29847344a11548266
3 changes: 2 additions & 1 deletion src/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import sysconfig

import pytest
import clr

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

sys.path.append(fixtures_path)

import clr

# Add References for tests
clr.AddReference("Python.Test")
clr.AddReference("System.Collections")
Expand Down