Merge pull request #9648 from pytest-dev/backport-9638-to-7.0.x

[7.0.x] work around test pollution caused by new setuptools mutating global logger level
This commit is contained in:
Ran Benita 2022-02-08 16:52:39 +02:00 committed by GitHub
commit 048a10bd96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 5 deletions

View File

@ -802,6 +802,7 @@ class TestDoctests:
p = pytester.makepyfile( p = pytester.makepyfile(
setup=""" setup="""
from setuptools import setup, find_packages from setuptools import setup, find_packages
if __name__ == '__main__':
setup(name='sample', setup(name='sample',
version='0.0', version='0.0',
description='description', description='description',