Decorator marking a test that requires bitsandbytes. These tests are skipped when bitsandbytes isn't installed.
(test_case)
| 527 | |
| 528 | |
| 529 | def require_bitsandbytes(test_case): |
| 530 | """ |
| 531 | Decorator marking a test that requires bitsandbytes. These tests are skipped when bitsandbytes isn't installed. |
| 532 | """ |
| 533 | return unittest.skipUnless(is_bitsandbytes_available(), "test requires bitsandbytes")(test_case) |
| 534 | |
| 535 | |
| 536 | def require_quanto(test_case): |
nothing calls this directly
no test coverage detected
searching dependent graphs…