class documentation

class TestDatetime64Timezone(_DeprecationTestCase): (source)

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_method Undocumented
Method teardown_method 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): (source)

Undocumented

def test_string(self): (source)

Undocumented