()
| 43 | ### |
| 44 | # Test that private interfaces in _parser are deprecated properly |
| 45 | def test_parser_private_warns(): |
| 46 | from dateutil.parser import _timelex, _tzparser |
| 47 | from dateutil.parser import _parsetz |
| 48 | |
| 49 | with pytest.warns(DeprecationWarning): |
| 50 | _tzparser() |
| 51 | |
| 52 | with pytest.warns(DeprecationWarning): |
| 53 | _timelex('2014-03-03') |
| 54 | |
| 55 | with pytest.warns(DeprecationWarning): |
| 56 | _parsetz('+05:00') |
| 57 | |
| 58 | |
| 59 | def test_parser_parser_private_not_warns(): |