We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e8128f commit cadda52Copy full SHA for cadda52
Lib/test/test_lib2to3.py
@@ -1,5 +1,8 @@
1
-from lib2to3.tests import load_tests
2
import unittest
+from test.support.warnings_helper import check_warnings
3
+
4
+with check_warnings(("", PendingDeprecationWarning)):
5
+ from lib2to3.tests import load_tests
6
7
if __name__ == '__main__':
8
unittest.main()
0 commit comments