def METHOD_NAME(tmpdir, caplog, capsys):
    subfolder = tmpdir.mkdir("subfolder")
    tmp_csv = str(subfolder.join("inputs.csv"))
    tmp_py = str(subfolder.join("notebook.py"))
    tmp_ipynb = str(subfolder.join("notebook.ipynb"))
    with open(tmp_csv, "w") as fp:
        fp.write("1\n2\n")
    with open(tmp_py, "w") as fp:
        fp.write(
            """import ast