def handler():
            nonlocal called
            called += 1
            raise ValueError("yeah sync")
def test_impl(df):
            B = df.A.str.replace('AB*', 'EE', regex=True)
            return B