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 607ba9d commit fe928b3Copy full SHA for fe928b3
Lib/test/test_lib2to3.py
@@ -1,5 +1,8 @@
1
-from lib2to3.tests import load_tests
2
import unittest
+from test.support 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