-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtestsTests in the Lib/test dirTests in the Lib/test dirtopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Warning:
Document: howto/descriptor
--------------------------
1 items passed all tests:
173 tests in default
173 tests in 1 items.
173 passed and 0 failed.
Test passed.
Exception ignored in: <sqlite3.Connection object at 0x7f8ea14d0d10>
Traceback (most recent call last):
File "/home/runner/work/cpython/cpython/Doc/venv/lib/python3.13/site-packages/docutils/nodes.py", line 387, in __new__
def __new__(cls, data, rawsource=None):
ResourceWarning: unclosed database in <sqlite3.Connection object at 0x7f8ea14d0d10>
I propose adding:
.. testcleanup::
conn.close()
To silence it.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirtestsTests in the Lib/test dirTests in the Lib/test dirtopic-sqlite3type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error