summaryrefslogtreecommitdiffstats
path: root/test/Java/java_version_image/src5/TestSCons.java
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-03-05 14:30:30 (GMT)
committerMats Wichmann <mats@linux.com>2019-03-05 14:41:09 (GMT)
commit674ebaca7eef1706549e2d3ddbe563cb2f3864c6 (patch)
tree5d0b067cfcd7e3aaad100f1cd0baa2dcb7f0b957 /test/Java/java_version_image/src5/TestSCons.java
parent96380855bb73cd6b061d067b0059fbbb6573e020 (diff)
downloadSCons-674ebaca7eef1706549e2d3ddbe563cb2f3864c6.zip
SCons-674ebaca7eef1706549e2d3ddbe563cb2f3864c6.tar.gz
SCons-674ebaca7eef1706549e2d3ddbe563cb2f3864c6.tar.bz2
[PYPY] [PY 3.8] add context mgr use in scons-time
To fix some test problems for pypy, which seem more prone to problems of lost data if files are written and not explicitly closed, add context managers on file opens in scons-time. Also quiets warnings which are emitted by the much noisier Python 3.8. Changes are to the scons-time script and to the framework. After visual inspection of outputs while debugging, switched the framework's created tools in the scons-time area to use os.linesep instead of explicit '\\n' strings, tools should operate in a native way. Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Java/java_version_image/src5/TestSCons.java')
0 files changed, 0 insertions, 0 deletions