(value)
| 953 | |
| 954 | @pytest.mark.parametrize('value', ['1: test', 'Nan']) |
| 955 | def test_decimal_error(value): |
| 956 | # GH 632, GH 662 - decimal.Decimal raises some non-ParserError exception |
| 957 | # when constructed with an invalid value |
| 958 | with pytest.raises(ParserError): |
| 959 | parse(value) |
| 960 | |
| 961 | def test_parsererror_repr(): |
| 962 | # GH 991 — the __repr__ was not properly indented and so was never defined. |