prevent import-time side-effects from setuptools bundled importlib-metadata
This commit is contained in:
parent
e466a87bb0
commit
269611e0b4
|
@ -803,8 +803,8 @@ class TestDoctests:
|
|||
"""
|
||||
p = pytester.makepyfile(
|
||||
setup="""
|
||||
from setuptools import setup, find_packages
|
||||
if __name__ == '__main__':
|
||||
from setuptools import setup, find_packages
|
||||
setup(name='sample',
|
||||
version='0.0',
|
||||
description='description',
|
||||
|
|
Loading…
Reference in New Issue