Skip to content

Commit d8df48e

Browse files
committed
Ignore unclosed sqlite connection in traits
This matches ipython/ipykernel@947894b, and there doesn't seem to be a sensible alternative at the moment. Fixes: #1475
1 parent e544fa1 commit d8df48e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,10 @@ filterwarnings = [
178178
"error",
179179
"ignore:datetime.datetime.utc:DeprecationWarning",
180180
"module:add_callback_from_signal is deprecated:DeprecationWarning",
181-
"ignore::jupyter_server.utils.JupyterServerAuthWarning"
181+
"ignore::jupyter_server.utils.JupyterServerAuthWarning",
182+
183+
# ignore unclosed sqlite in traits
184+
"ignore:unclosed database in <sqlite3.Connection:ResourceWarning",
182185
]
183186

184187
[tool.coverage.report]

0 commit comments

Comments
 (0)