Match a custom exception provided to `not_`
(self)
| 1299 | ) == e.value.args |
| 1300 | |
| 1301 | def test_custom_capture_match(self): |
| 1302 | """ |
| 1303 | Match a custom exception provided to `not_` |
| 1304 | """ |
| 1305 | v = not_(in_("abc"), exc_types=ValueError) |
| 1306 | a = simple_attr("test") |
| 1307 | |
| 1308 | v(None, a, "d") |
| 1309 | |
| 1310 | def test_custom_capture_miss(self): |
| 1311 | """ |
nothing calls this directly
no test coverage detected