Skip to content

Commit 4605fe1

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

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pyproject.toml

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

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

159168
markers = [

0 commit comments

Comments
 (0)