[Python-checkins] gh-104057: Fix direct invocation of test_support (GH-104069)
zware
webhook-mailer at python.org
Thu May 11 10:44:46 EDT 2023
https://github.com/python/cpython/commit/27419a71b5aa18baf24f4e640c5a6e8df9338928
commit: 27419a71b5aa18baf24f4e640c5a6e8df9338928
branch: main
author: Kirill Podoprigora <kirill.bast9 at mail.ru>
committer: zware <zachary.ware at gmail.com>
date: 2023-05-11T09:44:39-05:00
summary:
gh-104057: Fix direct invocation of test_support (GH-104069)
files:
M Lib/test/test_support.py
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index 7738ca5e9b43..85d692f30974 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
More information about the Python-checkins
mailing list