()
| 4445 | |
| 4446 | |
| 4447 | def test_raises_unsupported_algorithm_wrong_reason(): |
| 4448 | # Check that it fails if the wrong reason code is raised. |
| 4449 | with pytest.raises(AssertionError): |
| 4450 | with raises_unsupported_algorithm(None): |
| 4451 | raise UnsupportedAlgorithm( |
| 4452 | "An error.", _Reasons.BACKEND_MISSING_INTERFACE |
| 4453 | ) |
| 4454 | |
| 4455 | |
| 4456 | def test_raises_unsupported_no_exc(): |
nothing calls this directly
no test coverage detected