We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8e89c2 commit 2efbed3Copy full SHA for 2efbed3
1 file changed
src/firebird/driver/core.py
@@ -1799,7 +1799,7 @@ def __del__(self):
1799
warn("Connection disposed without prior close()", ResourceWarning)
1800
self._close()
1801
self._close_internals()
1802
- with contextlib.suppress:
+ with contextlib.suppress(DatabaseError):
1803
self._att.detach()
1804
def __enter__(self) -> Self:
1805
return self
0 commit comments