Merge pull request #9719 from asottile/fix-setuptools-pollution
prevent import-time side-effects from setuptools bundled importlib-metadata
This commit is contained in:
commit
9318b2cb7f
|
@ -803,8 +803,8 @@ class TestDoctests:
|
||||||
"""
|
"""
|
||||||
p = pytester.makepyfile(
|
p = pytester.makepyfile(
|
||||||
setup="""
|
setup="""
|
||||||
from setuptools import setup, find_packages
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
from setuptools import setup, find_packages
|
||||||
setup(name='sample',
|
setup(name='sample',
|
||||||
version='0.0',
|
version='0.0',
|
||||||
description='description',
|
description='description',
|
||||||
|
|
Loading…
Reference in New Issue