def _test(ex, df, *args): must_fail(ex, df.insert, *args)
def _test(ex, paths, **kwargs): must_fail(ex, lp.read_csv, paths, **kwargs)
def _test(ex, df, *args, **kwargs): must_fail(ex, df.drop, *args, **kwargs)
def _test(ex, sr, *args): def _iloc(): sr.iloc[args] must_fail(ex, _iloc)
def _test(ex, sr, *args): def _make_access(): sr.at[args] must_fail(ex, _make_access)
def _test(ex, df, *args): def _make_access(): df.iat[args] must_fail(ex, _make_access)
def _test(ex, df, *args): def _loc(): df.loc[args] must_fail(ex, _loc)
def _test(ex, sr, *args): def _test(): sr.astype(*args) must_fail(ex, _test)