mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Open source files in universal newlines mode.
This commit is contained in:
parent
418de1f23c
commit
29589a06f6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue