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

Function test_parse_tzstr

tests/test_isoparser.py:315–320  ·  view source on GitHub ↗
(tzoffset)

Source from the content-addressed store, hash-verified

313# Test parse_tzstr
314@pytest.mark.parametrize('tzoffset', FULL_TZOFFSETS)
315def test_parse_tzstr(tzoffset):
316 dt = datetime(2017, 11, 27, 6, 14, 30, 123456)
317 date_fmt = '%Y-%m-%d'
318 time_fmt = '%H:%M:%S.%f'
319
320 _isoparse_date_and_time(dt, date_fmt, time_fmt, tzoffset)
321
322
323@pytest.mark.parametrize('tzstr', [

Callers

nothing calls this directly

Calls 1

_isoparse_date_and_timeFunction · 0.85

Tested by

no test coverage detected