Skip to content

Commit

Permalink
Update tests/test_parsing.py
Browse files Browse the repository at this point in the history
Co-authored-by: Edgar Ramírez Mondragón <[email protected]>
  • Loading branch information
pR0Ps and edgarrmondragon authored Jan 17, 2024
1 parent 6c8a5cc commit 4ba9807
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4ba9807

Please sign in to comment.