Skip to content

Commit

Permalink
TST: Use importlib for importing in pytest
Browse files Browse the repository at this point in the history
This fixes the rewriting so that we get detailed variable information
again, which was broken with the move to Meson (which does weird import
hacking for editable installs.)
  • Loading branch information
QuLogic committed Dec 20, 2023
1 parent 502b311 commit eb24233
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -298,3 +298,6 @@ ignore_messages = [
# `lib/matplotlib/testing/conftest.py`.
minversion = "7.0"
testpaths = ["lib"]
addopts = [
"--import-mode=importlib",
]

0 comments on commit eb24233

Please sign in to comment.