summaryrefslogtreecommitdiffstats
path: root/test/Subst/AllowSubstExceptions.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2016-05-09 22:46:20 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2016-05-09 22:46:20 (GMT)
commit8db3ac9ab52220be897c562c36599897e43af7ee (patch)
tree04e6fc6fe7dae1d8332f17353295778713944d72 /test/Subst/AllowSubstExceptions.py
parentdea50d86773e279f7b0f13e22285bb0a10eb5c48 (diff)
downloadSCons-8db3ac9ab52220be897c562c36599897e43af7ee.zip
SCons-8db3ac9ab52220be897c562c36599897e43af7ee.tar.gz
SCons-8db3ac9ab52220be897c562c36599897e43af7ee.tar.bz2
Fixed print()'s
Diffstat (limited to 'test/Subst/AllowSubstExceptions.py')
-rw-r--r--test/Subst/AllowSubstExceptions.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Subst/AllowSubstExceptions.py b/test/Subst/AllowSubstExceptions.py
index 286f189..7f2a9aa 100644
--- a/test/Subst/AllowSubstExceptions.py
+++ b/test/Subst/AllowSubstExceptions.py
@@ -52,37 +52,37 @@ assert env.subst_list('${INDEX[999]}') == [[]]
AllowSubstExceptions()
try: env.subst('$NAME')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst('${NAME}')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst('${INDEX[999]}')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst_list('$NAME')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst_list('${NAME}')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst_list('${INDEX[999]}')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst('${1/0}')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
try: env.subst_list('${1/0}')
-except SCons.Errors.UserError, e: print e
+except SCons.Errors.UserError, e: print(e)
else: raise Exception("did not catch expected SCons.Errors.UserError")
AllowSubstExceptions(ZeroDivisionError)