New submission from Zachary Ware: The attached patch updates lib2to3.tests and the test.test_lib2to3 script to use test discovery. It also re-enables lib2to3.tests.test_all_fixers with a "cpu" resource guard. That test has been failing since at least 3.2, but was never run anyway. To allow it to pass, the patch adds "from __future__ import print_function" to lib2to3.main and lib2to3.tests.pytree_idempotency.
---------- components: 2to3 (2.x to 3.x conversion tool), Tests files: test_lib2to3_discovery.diff keywords: patch messages: 225072 nosy: zach.ware priority: normal severity: normal stage: patch review status: open title: Update lib2to3.tests and test_lib2to3 to use test discovery type: behavior versions: Python 3.4, Python 3.5 Added file: http://bugs.python.org/file36310/test_lib2to3_discovery.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22173> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com