214179b430
This is intended to improve coverage of the test suite.
18 lines
216 B
Python
18 lines
216 B
Python
# test bad exception match
|
|
|
|
try:
|
|
try:
|
|
a
|
|
except 1:
|
|
pass
|
|
except TypeError:
|
|
print("TypeError")
|
|
|
|
try:
|
|
try:
|
|
a
|
|
except (1,):
|
|
pass
|
|
except TypeError:
|
|
print("TypeError")
|