6 lines
102 B
Python
6 lines
102 B
Python
def test_exception_syntax():
|
|
try:
|
|
0 / 0
|
|
except ZeroDivisionError, e:
|
|
assert e
|