def METHOD_NAME():
    actual = timex.parse_rfc3339('2022-12-27T16:48:06z')
    tzinfo = datetime.timezone.utc
    expected = datetime.datetime(2022, 12, 27, 16, 48, 6, 0, tzinfo)
    assert actual == expected
    actual = timex.parse_rfc3339('2022-12-27T16:48:06.404z')
    tzinfo = datetime.timezone.utc
    expected = datetime.datetime(2022, 12, 27, 16, 48, 6, 404000, tzinfo)
    assert actual == expected