Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed.
(test_case)
| 272 | |
| 273 | |
| 274 | def require_onnxruntime(test_case): |
| 275 | """ |
| 276 | Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed. |
| 277 | """ |
| 278 | return unittest.skipUnless(is_onnx_available(), "test requires onnxruntime")(test_case) |
| 279 | |
| 280 | |
| 281 | def require_note_seq(test_case): |
nothing calls this directly
no test coverage detected