diff options
Diffstat (limited to 'test/Variables/chdir.py')
-rw-r--r-- | test/Variables/chdir.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Variables/chdir.py b/test/Variables/chdir.py index 2d097d5..0e9abaa 100644 --- a/test/Variables/chdir.py +++ b/test/Variables/chdir.py @@ -52,7 +52,7 @@ print("VARIABLE =", repr(env['VARIABLE'])) test.write(['bin', 'opts.cfg'], """\ import os os.chdir(os.path.split(__name__)[0]) -exec(open('opts2.cfg', 'rU').read()) +exec(open('opts2.cfg', 'r').read()) """) test.write(['bin', 'opts2.cfg'], """\ |