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:
parent
66df0bd224
commit
d4ffa46f41
66 changed files with 551 additions and 551 deletions
|
|
@ -5,7 +5,7 @@ f.data = cvar.global_data
|
|||
|
||||
for i in range(0, 8):
|
||||
if get_value(f.data, i) != get_value(cvar.global_data, i):
|
||||
raise RuntimeError, "Bad array assignment"
|
||||
raise RuntimeError("Bad array assignment")
|
||||
|
||||
|
||||
for i in range(0, 8):
|
||||
|
|
@ -15,4 +15,4 @@ cvar.global_data = f.data
|
|||
|
||||
for i in range(0, 8):
|
||||
if get_value(f.data, i) != get_value(cvar.global_data, i):
|
||||
raise RuntimeError, "Bad array assignment"
|
||||
raise RuntimeError("Bad array assignment")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue