Skip to content

Commit 0ab2d9b

Browse files
authored
Adapt to Python 3.12.0rc2 (#272)
The error message changed from "datetime.utcnow() is deprecated" to "datetime.datetime.utcnow() is deprecated".
1 parent fa86f41 commit 0ab2d9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ filterwarnings= [
6060
# When we run ipcluster and then run the tests we get this warning
6161
"ignore:Widget.* is deprecated:DeprecationWarning",
6262
# Deprecated in Python 3.12. Warnings from use in jupyter_client.
63-
"ignore:datetime.utcnow.* is deprecated:DeprecationWarning",
63+
"ignore:.*datetime.utcnow.* is deprecated:DeprecationWarning",
6464
]

0 commit comments

Comments
 (0)