We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3fdfbf + adea1a4 commit 35764f3Copy full SHA for 35764f3
README.md
@@ -323,7 +323,10 @@ $ pytest build-install/lib/python3.10/site-packages/scipy/ --doctest-modules
323
324
instead of `$ pytest --pyargs scipy`.
325
326
-If push comes to shove, you may try using the magic env variable:
+If you use actual editable installs, of the `pip install --no-build-isolation -e .` variety, you may
327
+need to add `--import-mode=importlib` to the `pytest` invocation.
328
+
329
+If push really comes to shove, you may try using the magic env variable:
330
` PY_IGNORE_IMPORTMISMATCH=1 pytest ...`,
331
however the need usually indicates an issue with the package itself.
332
(see [gh-107](https://github.com/scipy/scipy_doctest/pull/107) for an example).
0 commit comments