bpo-43955: Handle the case where the distutils warning has already been triggered (GH-25675)
diff --git a/Lib/test/test_distutils.py b/Lib/test/test_distutils.py
index de94da5..90bfc70 100644
--- a/Lib/test/test_distutils.py
+++ b/Lib/test/test_distutils.py
@@ -10,7 +10,7 @@
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