Skip to content

Commit

Permalink
format with black to make linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pR0Ps committed Jan 17, 2024
1 parent 4ba9807 commit 3ca5e45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_parsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,11 @@ def test_parse_interval() -> None:


def test_parse_now() -> None:

assert pendulum.parse("now").timezone_name == "UTC"
assert pendulum.parse("now", tz="America/Los_Angeles").timezone_name == "America/Los_Angeles"
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 3ca5e45

Please sign in to comment.