From c09073ae8a12b6ad1d82f591732d323015e3edbf Mon Sep 17 00:00:00 2001 From: Jakub Dubec Date: Mon, 16 Dec 2019 18:47:33 +0100 Subject: [PATCH] =?UTF-8?q?Resolved=20error=20in=20tests=20(caused=20by=20?= =?UTF-8?q?invalid=20ISO=208601=20parsing=20in=20python=20<=203.7)=20?= =?UTF-8?q?=F0=9F=9A=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test_valid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_valid.py b/tests/test_valid.py index 31ba15e..5feda30 100644 --- a/tests/test_valid.py +++ b/tests/test_valid.py @@ -28,8 +28,8 @@ def test_valid(rf: RequestFactory): } ], 'metadata': { - 'created_at': datetime.datetime.strptime('2019-10-21T18:57:03+01:00', "%Y-%m-%dT%H:%M:%S%z"), - 'updated_at': datetime.datetime.strptime('2019-10-21T18:57:03+01:00', "%Y-%m-%dT%H:%M:%S%z"), + 'created_at': datetime.datetime.strptime('2019-10-21T18:57:03+0100', "%Y-%m-%dT%H:%M:%S%z"), + 'updated_at': datetime.datetime.strptime('2019-10-21T18:57:03+0100', "%Y-%m-%dT%H:%M:%S%z"), } }