()
| 955 | parse(value) |
| 956 | |
| 957 | def test_parsererror_repr(): |
| 958 | # GH 991 — the __repr__ was not properly indented and so was never defined. |
| 959 | # This tests the current behavior of the ParserError __repr__, but the |
| 960 | # precise format is not guaranteed to be stable and may change even in |
| 961 | # minor versions. This test exists to avoid regressions. |
| 962 | s = repr(ParserError("Problem with string: %s", "2019-01-01")) |
| 963 | |
| 964 | assert s == "ParserError('Problem with string: %s', '2019-01-01')" |
nothing calls this directly
no test coverage detected