diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py index d1e40929e5..430a07e6c2 100644 --- a/setuptools/tests/test_develop.py +++ b/setuptools/tests/test_develop.py @@ -165,3 +165,9 @@ def test_namespace_package_importable(self, tmpdir): env = dict(PYTHONPATH=str(target)) subprocess.check_call(try_import, env=env) + # additionally ensure that pkg_resources import works + pkg_resources_imp = [ + sys.executable, + '-c', 'import pkg_resources', + ] + subprocess.check_call(pkg_resources_imp, env=env)