class documentation

class TestDatetime64Timezone(_DeprecationTestCase):

View In Hierarchy

Parsing of datetime64 with timezones deprecated in 1.11.0, because datetime64 is now timezone naive rather than UTC only.

It will be quite a while before we can remove this, because, at the very least, a lot of existing code uses the 'Z' modifier to avoid conversion from local time to UTC, even if otherwise it handles time in a timezone naive fashion.

Method test​_datetime Undocumented
Method test​_string Undocumented

Inherited from _DeprecationTestCase:

Method assert​_deprecated Test if DeprecationWarnings are given and raised.
Method assert​_not​_deprecated Test that warnings are not raised.
Method setup Undocumented
Method teardown Undocumented
Class Variable message Undocumented
Instance Variable log Undocumented
Instance Variable warn​_ctx Undocumented
@pytest.mark.skipif(not _has_pytz, reason='The pytz module is not available.')
def test_datetime(self):

Undocumented

def test_string(self):

Undocumented