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:
commit
048a10bd96
|
@ -802,6 +802,7 @@ class TestDoctests:
|
|||
p = pytester.makepyfile(
|
||||
setup="""
|
||||
from setuptools import setup, find_packages
|
||||
if __name__ == '__main__':
|
||||
setup(name='sample',
|
||||
version='0.0',
|
||||
description='description',
|
||||
|
|
Loading…
Reference in New Issue