import pytest
import os
import sqlalchemy
import contextlib


@pytest.fixture(scope="session")
def engine_uri(test_dir):
    database_path = test_dir.joinpath("pytest_meltano.db")

    try:
        database_path.unlink()
    except FileNotFoundError:
        pass

    return f"sqlite:///{database_path}"

[((7, 1, 7, 32), 'pytest.fixture', 'pytest.fixture', (), '', False, 'import pytest\n')]