diff --git a/tests/test_use.py b/tests/test_use.py index ae9401c..ea1cad1 100644 --- a/tests/test_use.py +++ b/tests/test_use.py @@ -11,6 +11,7 @@ def test_use(): use("pyjokes") import pyjokes # noqa + # sample is installed in the test venv which should be removed from sys.path with pytest.raises(ImportError): from sample.simple import add_one # noqa