()
| 4452 | |
| 4453 | |
| 4454 | def test_raises_unsupported_algorithm(): |
| 4455 | # Check that it doesn't assert if the right things are raised. |
| 4456 | with raises_unsupported_algorithm( |
| 4457 | _Reasons.BACKEND_MISSING_INTERFACE |
| 4458 | ) as exc_info: |
| 4459 | raise UnsupportedAlgorithm( |
| 4460 | "An error.", _Reasons.BACKEND_MISSING_INTERFACE |
| 4461 | ) |
| 4462 | assert exc_info.type is UnsupportedAlgorithm |
| 4463 | |
| 4464 | |
| 4465 | class TestDeprecated: |
nothing calls this directly
no test coverage detected