MCPcopy Create free account
hub / github.com/dateutil/dateutil / test_key_attribute

Method test_key_attribute

tests/test_tz.py:1092–1095  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1090 assert local1 is not local2
1091
1092 def test_key_attribute(self):
1093 # Also tested more thoroughly in the property tests.
1094 NYC = tz.gettz("America/New_York")
1095 assert NYC.key == "America/New_York"
1096
1097
1098@pytest.mark.gettz

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected