mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
bpo-43955: Handle the case where the distutils warning has already been triggered (GH-25675)
This commit is contained in:
parent
4c49be7668
commit
c1a9535989
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ from test import support
|
||||||
from test.support import warnings_helper
|
from test.support import warnings_helper
|
||||||
|
|
||||||
with warnings_helper.check_warnings(
|
with warnings_helper.check_warnings(
|
||||||
("The distutils package is deprecated", DeprecationWarning)):
|
("The distutils package is deprecated", DeprecationWarning), quiet=True):
|
||||||
|
|
||||||
import distutils.tests
|
import distutils.tests
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue