diff options
author | Michael W. Hudson <mwh@python.net> | 2004-10-11 15:34:31 (GMT) |
---|---|---|
committer | Michael W. Hudson <mwh@python.net> | 2004-10-11 15:34:31 (GMT) |
commit | 29589a06f6fb8298239c26334992d8471ad6f93a (patch) | |
tree | 7ae2deb6d300bb727ebb26acf92fada332089ad3 /Lib/test/test_compiler.py | |
parent | 418de1f23c2a17bd6d4d6b00500d5017e3fe9634 (diff) | |
download | cpython-29589a06f6fb8298239c26334992d8471ad6f93a.zip cpython-29589a06f6fb8298239c26334992d8471ad6f93a.tar.gz cpython-29589a06f6fb8298239c26334992d8471ad6f93a.tar.bz2 |
Open source files in universal newlines mode.
Diffstat (limited to 'Lib/test/test_compiler.py')
-rw-r--r-- | Lib/test/test_compiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_compiler.py b/Lib/test/test_compiler.py index 183efb5..e51bc42 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: |