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

Function test_gettz_badzone

tests/test_tz.py:1148–1151  ·  view source on GitHub ↗
(badzone)

Source from the content-addressed store, hash-verified

1146 'Fake.Region/Abcdefghijklmnop', # Violates several tz project name rules
1147])
1148def test_gettz_badzone(badzone):
1149 # Make sure passing a bad TZ string to gettz returns None (GH #800)
1150 tzi = tz.gettz(badzone)
1151 assert tzi is None
1152
1153
1154@pytest.mark.gettz

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected