diff options
Diffstat (limited to 'test/Variables/Variables.py')
-rw-r--r-- | test/Variables/Variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Variables/Variables.py b/test/Variables/Variables.py index 0e6a152..a6ed74f 100644 --- a/test/Variables/Variables.py +++ b/test/Variables/Variables.py @@ -235,7 +235,7 @@ opts.Save('variables.saved', env) def checkSave(file, expected): gdict = {} ldict = {} - exec string.replace(open(file).read(), '\r', '\n') in gdict, ldict + exec open(file, 'rU').read() in gdict, ldict assert expected == ldict, "%s\n...not equal to...\n%s" % (expected, ldict) # First test with no command line variables |