()
| 57 | |
| 58 | |
| 59 | def 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 |