fix py2py3 example tests
This commit is contained in:
parent
c11202b549
commit
971f96468c
|
@ -3,5 +3,5 @@ def test_exception_syntax():
|
|||
try:
|
||||
0/0
|
||||
except ZeroDivisionError, e:
|
||||
assert 0, e
|
||||
pass
|
||||
|
||||
|
|
|
@ -3,5 +3,5 @@ def test_exception_syntax():
|
|||
try:
|
||||
0/0
|
||||
except ZeroDivisionError as e:
|
||||
assert 0, e
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue