Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed.
(test_case)
| 336 | |
| 337 | |
| 338 | def require_onnxruntime(test_case): |
| 339 | """ |
| 340 | Decorator marking a test that requires onnxruntime. These tests are skipped when onnxruntime isn't installed. |
| 341 | """ |
| 342 | return unittest.skipUnless(is_onnx_available(), "test requires onnxruntime")(test_case) |
| 343 | |
| 344 | |
| 345 | def require_note_seq(test_case): |
nothing calls this directly
no test coverage detected