Skip to content

Commit

Permalink
Merge pull request #576 from scipp/fix-import-mode
Browse files Browse the repository at this point in the history
Use import-mode=importlib in pytest
  • Loading branch information
jl-wynen authored Nov 18, 2024
2 parents e7abf86 + 44af35a commit a508654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ minversion = "7.0"
addopts = """
--strict-config
--strict-markers
--import-mode=importlib
-ra
-v
"""
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ description = Test with unpinned dependencies, as a user would install now.
deps =
-r requirements/basetest.txt
scippneutron[all]
tof
commands = pytest {posargs}

[testenv:static]
Expand Down

0 comments on commit a508654

Please sign in to comment.