@contextmanager
def s3_bucket(extension):
    with conn():
        b = 's3://%s/%s%s' % (test_bucket_name, next(_tmps), extension)
        try:
            yield b
        finally:
            drop(resource(b))
dataset/ETHPy150Open blaze/odo/odo/backends/tests/test_s3.py/s3_bucket/original