def test_datetime_fromdatetime(dt, expected): assert Zulu.fromdatetime(dt) == expected
def test_zulu_fold(dt, timezone, expected_fold): zoned = dt.astimezone(timezone) assert zoned.fold == expected_fold assert dt == Zulu.fromdatetime(zoned)
def test_zulu_fromdatetime(dt, expected): assert Zulu.fromdatetime(dt) == expected