Decorator marking a test that requires JAX & Flax. These tests are skipped when one / both are not installed
(test_case)
| 659 | |
| 660 | |
| 661 | def require_flax(test_case): |
| 662 | """ |
| 663 | Decorator marking a test that requires JAX & Flax. These tests are skipped when one / both are not installed |
| 664 | """ |
| 665 | return pytest.mark.skipif(not is_flax_available(), reason="test requires JAX & Flax")(test_case) |
| 666 | |
| 667 | |
| 668 | def require_compel(test_case): |
nothing calls this directly
no test coverage detected
searching dependent graphs…