test_ok1/doc/ja/example/py2py3/test_py2.py

8 lines
105 B
Python

def test_exception_syntax():
try:
0/0
except ZeroDivisionError, e:
assert 0, e