Skip to content

Commit

Permalink
Merge pull request #9719 from asottile/fix-setuptools-pollution
Browse files Browse the repository at this point in the history
prevent import-time side-effects from setuptools bundled importlib-metadata
  • Loading branch information
asottile committed Mar 3, 2022
2 parents e466a87 + 269611e commit 9318b2c
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 9318b2c

Please sign in to comment.