Skip to content

Commit

Permalink
prevent import-time side-effects from setuptools bundled importlib-me…
Browse files Browse the repository at this point in the history
…tadata
  • Loading branch information
asottile committed Mar 1, 2022
1 parent e466a87 commit 269611e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_doctest.py
Expand Up @@ -803,8 +803,8 @@ def test_valid_setup_py(self, pytester: Pytester):
"""
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',
Expand Down

0 comments on commit 269611e

Please sign in to comment.