From 29589a06f6fb8298239c26334992d8471ad6f93a Mon Sep 17 00:00:00 2001 From: "Michael W. Hudson" Date: Mon, 11 Oct 2004 15:34:31 +0000 Subject: [PATCH] Open source files in universal newlines mode. --- Lib/test/test_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index 183efb50ab..e51bc4278d 100644 --- a/Lib/test/test_compiler.py +++ b/Lib/test/test_compiler.py @@ -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: -- 2.40.0