void () { doTestByText( """ class C(object): def __enter__(self): return self def __exit__(self, exc, value, traceback): return False def f1(): with C(): raise Exception() print(1) #pass def g2(): raise Exception() def f2(): with C(): return g2() <warning descr="This code is unreachable">print(1) #pass</warning> def f3(): with C(): g2() print(1) #pass""" ); }