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:65–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64@pytest.mark.skipif(IS_PY32, reason='pytest.warns not supported on Python 3.2')
65def test_parser_parser_private_not_warns():
66 from dateutil.parser._parser import _timelex, _tzparser
67 from dateutil.parser._parser import _parsetz
68
69 with warnings.catch_warnings():
70 warnings.simplefilter("error")
71 _tzparser()
72
73 with warnings.catch_warnings():
74 warnings.simplefilter("error")
75 _timelex('2014-03-03')
76
77 with warnings.catch_warnings():
78 warnings.simplefilter("error")
79 _parsetz('+05:00')
80
81
82@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