diff options
| author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 11:51:29 (GMT) |
|---|---|---|
| committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2017-03-11 11:51:29 (GMT) |
| commit | e1aa8d2b2d64eb147cedc24016c38f209d9d397f (patch) | |
| tree | d3f10cbdd1b20e7e881585dead0f7f3fa7512edd /test/Variables/Variables.py | |
| parent | 055c8046afce036fdfad4bc8d60e4059da148f7d (diff) | |
| download | SCons-e1aa8d2b2d64eb147cedc24016c38f209d9d397f.zip SCons-e1aa8d2b2d64eb147cedc24016c38f209d9d397f.tar.gz SCons-e1aa8d2b2d64eb147cedc24016c38f209d9d397f.tar.bz2 | |
Remove 'U' flag to open() which is deprecated.
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 1c60635..d08594d 100644 --- a/test/Variables/Variables.py +++ b/test/Variables/Variables.py @@ -231,7 +231,7 @@ opts.Save('variables.saved', env) def checkSave(file, expected): gdict = {} ldict = {} - exec(open(file, 'rU').read(), gdict, ldict) + exec(open(file, 'r').read(), gdict, ldict) assert expected == ldict, "%s\n...not equal to...\n%s" % (expected, ldict) # First test with no command line variables |
