Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ markers =
mysqldb
mysqlclient
pymssql
pyodbc
aiohttp
aiopg
asyncpg
Expand Down
2 changes: 1 addition & 1 deletion tests/instrumentation/pyodbc_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
pytestmark.append(pytest.mark.skip("Skipping pyodbc tests, no POSTGRES_DB environment variable set"))


@pytest.yield_fixture(scope="function")
@pytest.fixture(scope="function")
def pyodbc_postgres_connection(request):
conn_str = ("DRIVER={PostgreSQL Unicode};" "DATABASE=%s;" "UID=%s;" "PASSWORD=%s;" "SERVER=%s;" "PORT=%s;") % (
os.environ.get("POSTGRES_DB", "elasticapm_test"),
Expand Down