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): ...@@ -260,12 +260,12 @@ def except_as_deletes_target_in_gen(x, a):
def nested_except_gh3666(a=False, b=False): def nested_except_gh3666(a=False, b=False):
""" """
>>> nested_except_gh3666() >>> print(nested_except_gh3666())
'A' A
>>> nested_except_gh3666(a=True) >>> print(nested_except_gh3666(a=True))
'B-V' B-V
>>> nested_except_gh3666(a=True, b=True) >>> print(nested_except_gh3666(a=True, b=True))
'B-V-T' B-V-T
""" """
try: try:
if a: 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