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

Function test_gettz_badzone_unicode

tests/test_tz.py:1155–1159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1153
1154@pytest.mark.gettz
1155def test_gettz_badzone_unicode():
1156 # Make sure a unicode string can be passed to TZ (GH #802)
1157 # When fixed, combine this with test_gettz_badzone
1158 tzi = tz.gettz('🐼')
1159 assert tzi is None
1160
1161
1162@pytest.mark.gettz

Callers

nothing calls this directly

Calls 1

gettzMethod · 0.45

Tested by

no test coverage detected