- Issue #11250: Back port fix from 3.3 branch, so that 2to3 can handle files

with line feeds.  This was ported from the sandbox to the 3.3 branch, but
  didn't make it into 3.2.

- Re-enable lib2to3's test_parser.py tests, though with an expected failure
  (see issue 13125).
This commit is contained in:
Barry Warsaw 2011-10-07 14:44:49 -04:00
parent 7b847a46bc
commit 78f89d8c38
5 changed files with 39 additions and 23 deletions

View file

@ -1,6 +1,7 @@
# Skipping test_parser and test_all_fixers
# because of running
from lib2to3.tests import (test_fixers, test_pytree, test_util, test_refactor,
test_parser,
test_main as test_main_)
import unittest
from test.support import run_unittest
@ -9,7 +10,7 @@ def suite():
tests = unittest.TestSuite()
loader = unittest.TestLoader()
for m in (test_fixers, test_pytree,test_util, test_refactor,
test_main_):
test_parser, test_main_):
tests.addTests(loader.loadTestsFromModule(m))
return tests