Convert python tests using 2to3

These tests were converted using 2to3 and should be valid using
Python 2.7 and Python 3+.
This commit is contained in:
William S Fulton 2020-08-15 00:16:04 +01:00
commit d4ffa46f41
66 changed files with 551 additions and 551 deletions

View file

@ -20,7 +20,7 @@ if x != 9876:
fail = True
try:
global_vars.cvar.notexist = "something"
except AttributeError, e:
except AttributeError as e:
fail = False
if fail:
raise RuntimeError("AttributeError should have been thrown")
@ -28,7 +28,7 @@ if fail:
fail = True
try:
g = global_vars.cvar.notexist
except AttributeError, e:
except AttributeError as e:
fail = False
if fail:
raise RuntimeError("AttributeError should have been thrown")