Release v1.0.0rc1
Some checks failed
CI / Checks (push) Has been cancelled

This commit is contained in:
2025-08-18 07:09:27 +02:00
commit d909391ee6
383 changed files with 22792 additions and 0 deletions

View File

@@ -0,0 +1 @@
from .datetime import assert_datetimes_are_really_close # noqa: F401,F403

View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
from __future__ import annotations
import datetime
import dateutil
DELTA = datetime.timedelta(microseconds=100_000) # 100ms
def assert_datetimes_are_really_close(datetime1: datetime.datetime,
datetime2: datetime.datetime,
):
assert dateutil.utils.within_delta(datetime1, datetime2, DELTA)