Skip to content

Commit 91ce77e

Browse files
committed
Check that distutils has an origin. Ref #2990.
1 parent a60fc6a commit 91ce77e

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

setuptools/tests/test_distutils_adoption.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,10 @@ def test_pip_import(venv):
8686
"""
8787
cmd = ['python', '-c', 'import pip']
8888
popen_text(venv.run)(cmd)
89+
90+
91+
def test_distutils_has_origin():
92+
"""
93+
Distutils module spec should have an origin. #2990.
94+
"""
95+
assert __import__('distutils').__spec__.origin

0 commit comments

Comments
 (0)