Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
gmr committed Jan 12, 2024
1 parent d62e282 commit 58b4ff8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_decoding.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,5 +739,4 @@ def test_decode_large_timestamp_value(self):
dt = datetime.datetime(2107, 1, 1, 0, 0, tzinfo=datetime.timezone.utc)
large_timestamp_bytes = struct.pack('>Q',
int(dt.timestamp() * 1000))
self.assertEqual(decode.timestamp(large_timestamp_bytes)[1],
dt.replace(tzinfo=None))
self.assertEqual(decode.timestamp(large_timestamp_bytes)[1], dt)

0 comments on commit 58b4ff8

Please sign in to comment.