gh-104057: Fix direct invocation of test_support (GH-104069)

This commit is contained in:
Kirill Podoprigora 2023-05-11 17:44:39 +03:00 committed by GitHub
parent 77262458fe
commit 27419a71b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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