From: Steve Dower Date: Wed, 28 Apr 2021 15:21:55 +0000 (+0100) Subject: bpo-43955: Handle the case where the distutils warning has already been triggered... X-Git-Tag: v3.10.0b1~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1a9535989cc7323099725503519a17f79d083f5;p=thirdparty%2FPython%2Fcpython.git 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 de94da54798c..90bfc70a133a 100644 --- a/Lib/test/test_distutils.py +++ b/Lib/test/test_distutils.py @@ -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