(msg)
| 429 | |
| 430 | |
| 431 | def test_reentrant_implicit_conversion_failure(msg): |
| 432 | # ensure that there is no runaway reentrant implicit conversion (#1035) |
| 433 | with pytest.raises(TypeError) as excinfo: |
| 434 | m.BogusImplicitConversion(0) |
| 435 | assert ( |
| 436 | msg(excinfo.value) |
| 437 | == """ |
| 438 | __init__(): incompatible constructor arguments. The following argument types are supported: |
| 439 | 1. m.class_.BogusImplicitConversion(arg0: m.class_.BogusImplicitConversion) |
| 440 | |
| 441 | Invoked with: 0 |
| 442 | """ |
| 443 | ) |
| 444 | |
| 445 | |
| 446 | def test_error_after_conversions(): |
nothing calls this directly
no test coverage detected