Open source files in universal newlines mode.

This commit is contained in:
Michael W. Hudson 2004-10-11 15:34:31 +00:00
parent 418de1f23c
commit 29589a06f6
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class CompilerTest(unittest.TestCase):
path = os.path.join(dir, basename)
if test.test_support.verbose:
print "compiling", path
f = open(path)
f = open(path, "U")
buf = f.read()
f.close()
if "badsyntax" in basename: