summaryrefslogtreecommitdiffstats
path: root/test/Fortran
diff options
context:
space:
mode:
authorMats Wichmann <mats@linux.com>2019-06-25 16:56:43 (GMT)
committerMats Wichmann <mats@linux.com>2019-12-05 00:33:25 (GMT)
commitd4eaa1986cfffdb11eee0aa5240fa44bef370fb1 (patch)
treefe156e17caec56884bff27bf350ee3f38950d5cc /test/Fortran
parent714d2c0baf5573c32bf709f3d252496c2359b345 (diff)
downloadSCons-d4eaa1986cfffdb11eee0aa5240fa44bef370fb1.zip
SCons-d4eaa1986cfffdb11eee0aa5240fa44bef370fb1.tar.gz
SCons-d4eaa1986cfffdb11eee0aa5240fa44bef370fb1.tar.bz2
Improve building of docs using Py3 [ci skip]
* context managers on file r/w + use shutil.copy where it makes sense. * lxml wants (demands?) that xml files be processed as bytes * for the phase where we gen the entity files, read as text anyway * Need to solve a problem where the generated xml is putting the \n in literally, not evaluating it. * Fix some examples broken for py3 * Fix more octal constant instances * Cleanups suggested by PyCharm: staticmethods, two blanks before class definition, others. This addresses issues called out in #3300, but is not a complete solution because the actual doc build step still fails with the epydoc failures (which aren't directly because of Py3; epydoc build doesn't work any better on my system with Py3, even with the forked version with patches). Signed-off-by: Mats Wichmann <mats@linux.com>
Diffstat (limited to 'test/Fortran')
-rw-r--r--test/Fortran/FORTRANFILESUFFIXES2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Fortran/FORTRANFILESUFFIXES2.py b/test/Fortran/FORTRANFILESUFFIXES2.py
index 141fc31..4c3f679 100644
--- a/test/Fortran/FORTRANFILESUFFIXES2.py
+++ b/test/Fortran/FORTRANFILESUFFIXES2.py
@@ -43,7 +43,7 @@ env = Environment(LINK = r'%(_python_)s mylink.py',
FORTRAN = r'%(_python_)s myfortran.py fortran',
FORTRANFILESUFFIXES = ['.f', '.f95', '.f90', '.ffake'],
tools = ['default', 'fortran'])
-#print env.Dump()
+#print(env.Dump())
env.Program(target = 'test01', source = 'test01.f')
env.Program(target = 'test02', source = 'test02.f90')
env.Program(target = 'test03', source = 'test03.f95')