Skip to content

Commit 1b8a727

Browse files
committed
CONF: adding more deprecation warnings to ignore that are triggered upstream
1 parent dc6bf2c commit 1b8a727

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

pyproject.toml

+12-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,18 @@ force-sort-within-sections = true
153153

154154
[tool.pytest.ini_options]
155155
filterwarnings = [
156-
"error",
156+
'error',
157+
'ignore:unclosed database in:ResourceWarning',
158+
# from asyncio triggered by jupyter_client
159+
'ignore:There is no current event loop:DeprecationWarning',
160+
'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning',
161+
# from jupyter_core
162+
'ignore:Jupyter is migrating its paths to use standard platformdirs:DeprecationWarning',
163+
# nbclient
164+
'ignore:Parsing dates involving a day of month without a year specified is ambiguious:DeprecationWarning:nbclient',
165+
# From dateutil in sqlalchemy and jupyter_cache
166+
'ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:sqlalchemy',
167+
'ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:jupyter_cache',
157168
]
158169

159170
markers = [

0 commit comments

Comments
 (0)