Decorator marking a test that requires the kernels library. These tests are skipped when the kernels library isn't installed.
(test_case)
| 688 | |
| 689 | |
| 690 | def require_kernels(test_case): |
| 691 | """ |
| 692 | Decorator marking a test that requires the kernels library. |
| 693 | |
| 694 | These tests are skipped when the kernels library isn't installed. |
| 695 | |
| 696 | """ |
| 697 | return unittest.skipUnless(is_kernels_available(), "test requires the kernels library")(test_case) |
| 698 | |
| 699 | |
| 700 | def require_flash_attn_3(test_case): |
nothing calls this directly
no test coverage detected