()
| 412 | |
| 413 | |
| 414 | def test_parse_isodate_error_text(): |
| 415 | with pytest.raises(ValueError) as excinfo: |
| 416 | isoparser().parse_isodate('2014-0423') |
| 417 | |
| 418 | # ensure the error message does not contain b' prefixes |
| 419 | expected_error = "String contains unknown ISO components: '2014-0423'" |
| 420 | assert expected_error == str(excinfo.value) |
| 421 | |
| 422 | |
| 423 | ### |
nothing calls this directly
no test coverage detected