diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Variables/ListVariable.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Variables/ListVariable.py b/test/Variables/ListVariable.py index e5be625..c6972c1 100644 --- a/test/Variables/ListVariable.py +++ b/test/Variables/ListVariable.py @@ -66,15 +66,15 @@ env = Environment(variables=opts) opts.Save(optsfile, env) Help(opts.GenerateHelpText(env)) -print env['shared'] -if 'ical' in env['shared']: print '1' -else: print '0' +print(env['shared']) +if 'ical' in env['shared']: print('1') +else: print('0') for x in env['shared']: - print x, -print -print env.subst('$shared') + print (x,) +print() +print(env.subst('$shared')) # Test subst_path() because it's used in $CPPDEFINES expansions. -print env.subst_path('$shared') +print(env.subst_path('$shared')) Default(env.Alias('dummy', None)) """) @@ -162,7 +162,7 @@ opts.AddVariables( env = Environment(variables=opts) Help(opts.GenerateHelpText(env)) -print env['gpib'] +print(env['gpib']) Default(env.Alias('dummy', None)) """) |