From 01d129dfca697f357873d083d4629cea920ca17d Mon Sep 17 00:00:00 2001 From: Mattias Ellert Date: Tue, 10 Oct 2023 16:02:24 +0200 Subject: [PATCH] Adapt to Python 3.12.0rc2 (#9764) The warning message changed from "datetime.utcfromtimestamp() is deprecated" to "datetime.datetime.utcfromtimestamp() is deprecated" --- pytest.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index 46beca405..ea038151c 100644 --- a/pytest.ini +++ b/pytest.ini @@ -42,5 +42,5 @@ filterwarnings = ignore:.*declare_namespace\(':DeprecationWarning ignore:pkg_resources is deprecated as an API:DeprecationWarning ignore:Python 3.7 support will be dropped:PendingDeprecationWarning - ignore:datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:pytz.tzinfo + ignore:.*datetime.utcfromtimestamp\(\) is deprecated:DeprecationWarning:pytz.tzinfo ignore:Boto3 will no longer support Python 3.7