Skip to content

Commit

Permalink
Add == instead of =
Browse files Browse the repository at this point in the history
  • Loading branch information
2br-2b authored Dec 14, 2024
1 parent 3873070 commit bb4c736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def test_en_locale() -> None:
test_str = humanize.naturaltime(three_seconds)

humanize.i18n.activate("en_US")
assert test_str = humanize.naturaltime(three_seconds)
assert test_str == humanize.naturaltime(three_seconds)

humanize.i18n.activate("en_GB")
assert test_str = humanize.naturaltime(three_seconds)
assert test_str == humanize.naturaltime(three_seconds)

humanize.i18n.deactivate()

Expand Down

0 comments on commit bb4c736

Please sign in to comment.