

@pytest.yield_fixture
def tmpcsv():
    with tmpfile('.csv') as fn:
        with open(fn, mode='w') as f:
            df.to_csv(f, index=False)
        (yield fn)

dataset/ETHPy150Open blaze/odo/odo/backends/tests/test_s3_redshift.py tmpcsv/original