Skip to content

Commit

Permalink
Fix for Timezone test
Browse files Browse the repository at this point in the history
  • Loading branch information
RhetTbull committed Feb 2, 2025
1 parent 59d791c commit 884b927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_timezones.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_timezone_invalid_zone():
def test_timezone_invalid_offset():
"""Test that Timezone creation fails with bad input type."""
with pytest.raises(TypeError, match="Timezone must be a string or an int"):
Timezone(1.23) # Invalid offset input
Timezone(None) # Invalid offset input


@pytest.mark.skipif(not is_macos, reason="macOS only")
Expand Down

0 comments on commit 884b927

Please sign in to comment.