gh-1147: Create xp_no_jax#1148
Conversation
|
Isn't this much cleaner handled by a |
paddyroddy
left a comment
There was a problem hiding this comment.
Looks good to me, not sure about the name though
I think if we're not careful then that would skip the whole test. We're interested in skipping for certain backends, but still running the test. Could be done in another way potentially though. |
We use this fixture in exactly one test. So we could just do: def test_cls2cov_no_jax(xpb: ModuleType) -> None:
if xpb.__name__ == "jax.numpy":
pytest.skip("test does not work with jax")
... |
|
Ah, yes that makes sense. I was thinking of a more complex example modifying |
Description
Add
xp_no_jaxto replacexpbwhen used asxpexcluding JAXCloses: #1147
Checks