We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf122fd commit c20fabaCopy full SHA for c20faba
Lib/test/test_support.py
@@ -705,5 +705,16 @@ def test_print_warning(self):
705
# SuppressCrashReport
706
707
708
+def _warn_about_deprecation():
709
+ # In 3.10+ this lives in test.support.warnings_helper
710
+ warnings.warn(
711
+ "This is used in test_support test to ensure"
712
+ " support.ignore_deprecations_from() works as expected."
713
+ " You should not be seeing this.",
714
+ DeprecationWarning,
715
+ stacklevel=0,
716
+ )
717
+
718
719
if __name__ == '__main__':
720
unittest.main()
0 commit comments