Decorator marking a test that requires quanto. These tests are skipped when quanto isn't installed.
(test_case)
| 725 | |
| 726 | |
| 727 | def require_quanto(test_case): |
| 728 | """ |
| 729 | Decorator marking a test that requires quanto. These tests are skipped when quanto isn't installed. |
| 730 | """ |
| 731 | return pytest.mark.skipif(not is_optimum_quanto_available(), reason="test requires quanto")(test_case) |
| 732 | |
| 733 | |
| 734 | def require_accelerate(test_case): |
nothing calls this directly
no test coverage detected
searching dependent graphs…