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

Function test_empty_zone

tests/test_tzfile.py:1460–1464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1458
1459
1460def test_empty_zone():
1461 zf = construct_zone([], "")
1462
1463 with pytest.raises(ValueError):
1464 tz.tzfile(zf)
1465
1466
1467@pytest.mark.parametrize("version", [1, 2, 3])

Callers

nothing calls this directly

Calls 1

construct_zoneFunction · 0.85

Tested by

no test coverage detected