Skip to content

fixup: closing connection when load sql files #1111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 19, 2025

Conversation

dmitryerr
Copy link
Contributor

while execute tests with load kwargs appears warnings:

/usr/local/lib/python3.12/site-packages/psycopg/_connection_base.py:149: ResourceWarning: connection <psycopg.Connection [IDLE] (host=test user=test database=tests_tmpl) at 0x7f450fb451f0> was deleted while still open. Please use 'with' or '.close()' to close the connection

@fizyk fizyk merged commit 8cfaaec into dbfixtures:main Mar 19, 2025
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants