Skip to content

Commit

Permalink
Adapt to Python 3.12.0rc2 (#272)
Browse files Browse the repository at this point in the history
The error message changed from "datetime.utcnow() is deprecated" to
"datetime.datetime.utcnow() is deprecated".
  • Loading branch information
ellert committed Sep 8, 2023
1 parent fa86f41 commit 0ab2d9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,5 @@ filterwarnings= [
# When we run ipcluster and then run the tests we get this warning
"ignore:Widget.* is deprecated:DeprecationWarning",
# Deprecated in Python 3.12. Warnings from use in jupyter_client.
"ignore:datetime.utcnow.* is deprecated:DeprecationWarning",
"ignore:.*datetime.utcnow.* is deprecated:DeprecationWarning",
]

0 comments on commit 0ab2d9b

Please sign in to comment.