Commit 4728b8a0 authored by Stefan Behnel's avatar Stefan Behnel

Fix test in Py2.

parent bbef4d74
......@@ -260,12 +260,12 @@ def except_as_deletes_target_in_gen(x, a):
def nested_except_gh3666(a=False, b=False):
"""
>>> nested_except_gh3666()
'A'
>>> nested_except_gh3666(a=True)
'B-V'
>>> nested_except_gh3666(a=True, b=True)
'B-V-T'
>>> print(nested_except_gh3666())
A
>>> print(nested_except_gh3666(a=True))
B-V
>>> print(nested_except_gh3666(a=True, b=True))
B-V-T
"""
try:
if a:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment