From 27419a71b5aa18baf24f4e640c5a6e8df9338928 Mon Sep 17 00:00:00 2001 From: Kirill Podoprigora Date: Thu, 11 May 2023 17:44:39 +0300 Subject: [PATCH] gh-104057: Fix direct invocation of test_support (GH-104069) --- Lib/test/test_support.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py index 7738ca5e9b433d..85d692f3097494 100644 --- a/Lib/test/test_support.py +++ b/Lib/test/test_support.py @@ -30,7 +30,7 @@ def setUpClass(cls): "test.support.warnings_helper", like=".*used in test_support.*" ) cls._test_support_token = support.ignore_deprecations_from( - "test.test_support", like=".*You should NOT be seeing this.*" + __name__, like=".*You should NOT be seeing this.*" ) assert len(warnings.filters) == orig_filter_len + 2