[New-bugs-announce] [issue22173] Update lib2to3.tests and test_lib2to3 to use test discovery

Zachary Ware report at bugs.python.org
Fri Aug 8 16:08:01 CEST 2014

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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list