()
| 4461 | |
| 4462 | |
| 4463 | def test_raises_unsupported_algorithm(): |
| 4464 | # Check that it doesn't assert if the right things are raised. |
| 4465 | with raises_unsupported_algorithm( |
| 4466 | _Reasons.BACKEND_MISSING_INTERFACE |
| 4467 | ) as exc_info: |
| 4468 | raise UnsupportedAlgorithm( |
| 4469 | "An error.", _Reasons.BACKEND_MISSING_INTERFACE |
| 4470 | ) |
| 4471 | assert exc_info.type is UnsupportedAlgorithm |
| 4472 | |
| 4473 | |
| 4474 | class TestDeprecated: |
nothing calls this directly
no test coverage detected