()
| 4436 | |
| 4437 | |
| 4438 | def test_raises_unsupported_algorithm_wrong_reason(): |
| 4439 | # Check that it fails if the wrong reason code is raised. |
| 4440 | with pytest.raises(AssertionError): |
| 4441 | with raises_unsupported_algorithm(None): |
| 4442 | raise UnsupportedAlgorithm( |
| 4443 | "An error.", _Reasons.BACKEND_MISSING_INTERFACE |
| 4444 | ) |
| 4445 | |
| 4446 | |
| 4447 | def test_raises_unsupported_no_exc(): |
nothing calls this directly
no test coverage detected