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

Function test_parser_parser_private_not_warns

tests/test_internals.py:59–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58
59def test_parser_parser_private_not_warns():
60 from dateutil.parser._parser import _timelex, _tzparser
61 from dateutil.parser._parser import _parsetz
62
63 with warnings.catch_warnings():
64 warnings.simplefilter("error")
65 _tzparser()
66
67 with warnings.catch_warnings():
68 warnings.simplefilter("error")
69 _timelex('2014-03-03')
70
71 with warnings.catch_warnings():
72 warnings.simplefilter("error")
73 _parsetz('+05:00')
74
75
76@pytest.mark.tzstr

Callers

nothing calls this directly

Calls 3

_tzparserClass · 0.90
_timelexClass · 0.90
_parsetzFunction · 0.90

Tested by

no test coverage detected