Skip to content

Commit 27419a7

Browse files
authored
gh-104057: Fix direct invocation of test_support (GH-104069)
1 parent 7726245 commit 27419a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_support.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def setUpClass(cls):
3030
"test.support.warnings_helper", like=".*used in test_support.*"
3131
)
3232
cls._test_support_token = support.ignore_deprecations_from(
33-
"test.test_support", like=".*You should NOT be seeing this.*"
33+
__name__, like=".*You should NOT be seeing this.*"
3434
)
3535
assert len(warnings.filters) == orig_filter_len + 2
3636

0 commit comments

Comments
 (0)