From 4ba9807494eb2aa098f6cda917107d309d5b0d9b Mon Sep 17 00:00:00 2001 From: Carey Metcalfe Date: Tue, 16 Jan 2024 22:13:18 -0500 Subject: [PATCH] Update tests/test_parsing.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Edgar Ramírez Mondragón <16805946+edgarrmondragon@users.noreply.github.com> --- tests/test_parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_parsing.py b/tests/test_parsing.py index 21d9d605..ff4b4287 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -129,8 +129,8 @@ def test_parse_interval() -> None: def test_parse_now() -> None: - pendulum.parse("now").timezone_name == "UTC" - pendulum.parse("now", tz="America/Los_Angeles").timezone_name == "America/Los_Angeles" + assert pendulum.parse("now").timezone_name == "UTC" + assert pendulum.parse("now", tz="America/Los_Angeles").timezone_name == "America/Los_Angeles" dt = pendulum.parse("now", tz="local") assert dt.timezone_name == "America/Toronto"