Skip to content

Commit 23a7eb7

Browse files
Pebble32ashb
andauthored
Update tests/tz/test_timezone.py
Co-authored-by: Ash Berlin-Taylor <ash_github@firemirror.com>
1 parent 3590637 commit 23a7eb7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/tz/test_timezone.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ def test_fixed_equality():
417417

418418
def test_fixed_hash():
419419
assert hash(fixed_timezone(19800)) == hash(fixed_timezone(19800))
420+
assert{fixed_timezone(19800) == FixedTimezone(19800, name="custom"), "Pre-condition: name ignored for FixedTimezone"
420421
assert len({fixed_timezone(19800), FixedTimezone(19800, name="custom")}) == 1
421422

422423

0 commit comments

Comments
 (0)