From c1a9535989cc7323099725503519a17f79d083f5 Mon Sep 17 00:00:00 2001 From: Steve Dower Date: Wed, 28 Apr 2021 16:21:55 +0100 Subject: bpo-43955: Handle the case where the distutils warning has already been triggered (GH-25675) --- Lib/test/test_distutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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 -- cgit v0.12