Skip to content

Commit

Permalink
cleanup unnecessary includes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMoelans committed Dec 4, 2024
1 parent 88efde7 commit a1eea5c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/assertions.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
import platform
import re
import sys
import time
from dataclasses import dataclass
from datetime import datetime, UTC, timedelta, timezone
from datetime import datetime, UTC

import msgpack

Expand Down Expand Up @@ -207,7 +206,7 @@ def assert_minidump(envelope):


def assert_timestamp(ts):
elapsed_time = datetime.now(timezone.utc) - datetime.fromisoformat(ts)
elapsed_time = datetime.now(UTC) - datetime.fromisoformat(ts)
assert elapsed_time.total_seconds() < 10


Expand Down

0 comments on commit a1eea5c

Please sign in to comment.