From 0d9cb63971f28f32b71d2da1c1ac5f2cb422e599 Mon Sep 17 00:00:00 2001 From: eggplants Date: Thu, 3 Feb 2022 21:37:26 +0900 Subject: [PATCH] fix: datetime.datetime -> datetime --- tests/test_save_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_save_api.py b/tests/test_save_api.py index afd3863..7cd725d 100644 --- a/tests/test_save_api.py +++ b/tests/test_save_api.py @@ -28,7 +28,7 @@ def test_save(): assert archive_url.find("github.com/akamhy/waybackpy") != -1 assert timestamp is not None assert str(headers).find("github.com/akamhy/waybackpy") != -1 - assert isinstance(save_api.timestamp(), datetime.datetime) + assert isinstance(save_api.timestamp(), datetime) def test_max_redirect_exceeded():