cpython/Lib/test/test_lib2to3.py
Karthikeyan Singaravelan fe928b32da
[3.9] bpo-40360: Handle PendingDeprecationWarning in test_lib2to3. (GH-21694) (GH-21697)
(cherry picked from commit cadda52d97)

Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
2020-07-31 07:17:18 -07:00

8 lines
200 B
Python

import unittest
from test.support import check_warnings
with check_warnings(("", PendingDeprecationWarning)):
from lib2to3.tests import load_tests
if __name__ == '__main__':
unittest.main()