diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-11-05 23:20:06 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-11-05 23:20:06 (GMT) |
commit | 3e376e5fd739e117542fc8e6953712a189b09ff3 (patch) | |
tree | 2a7d68b750fd6e9c516b4efd3d575d3f3670bb7d /Lib | |
parent | 9a570341cef5707e51f08a73afe63d2d6e0732fa (diff) | |
download | cpython-3e376e5fd739e117542fc8e6953712a189b09ff3.zip cpython-3e376e5fd739e117542fc8e6953712a189b09ff3.tar.gz cpython-3e376e5fd739e117542fc8e6953712a189b09ff3.tar.bz2 |
Merged revisions 76127-76128 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76127 | benjamin.peterson | 2009-11-05 17:04:58 -0600 (Thu, 05 Nov 2009) | 1 line
set svn:eol-style
........
r76128 | benjamin.peterson | 2009-11-05 17:07:46 -0600 (Thu, 05 Nov 2009) | 1 line
skip this test on windows to avoid newline horrors
........
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lib2to3/tests/test_parser.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/lib2to3/tests/test_parser.py b/Lib/lib2to3/tests/test_parser.py index 08b9161..15f2f73 100644 --- a/Lib/lib2to3/tests/test_parser.py +++ b/Lib/lib2to3/tests/test_parser.py @@ -147,6 +147,9 @@ class TestParserIdempotency(support.TestCase): """A cut-down version of pytree_idempotency.py.""" def test_all_project_files(self): + if sys.platform.startswith("win"): + # XXX something with newlines goes wrong on Windows. + return for filepath in support.all_project_files(): with open(filepath, "rb") as fp: encoding = tokenize.detect_encoding(fp.readline)[0] |