Skip to content

Commit

Permalink
Check that distutils has an origin. Ref #2990.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Jan 8, 2022
1 parent a60fc6a commit 91ce77e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions setuptools/tests/test_distutils_adoption.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,10 @@ def test_pip_import(venv):
"""
cmd = ['python', '-c', 'import pip']
popen_text(venv.run)(cmd)


def test_distutils_has_origin():
"""
Distutils module spec should have an origin. #2990.
"""
assert __import__('distutils').__spec__.origin

0 comments on commit 91ce77e

Please sign in to comment.