bpo-43955: Handle the case where the distutils warning has already been triggered (GH-25675)

This commit is contained in:
Steve Dower 2021-04-28 16:21:55 +01:00 committed by GitHub
parent 4c49be7668
commit c1a9535989
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@ from test import support
from test.support import warnings_helper
with warnings_helper.check_warnings(
("The distutils package is deprecated", DeprecationWarning)):
("The distutils package is deprecated", DeprecationWarning), quiet=True):
import distutils.tests