pyro-ppl / funsor

Functional tensors for probabilistic programming
https://funsor.pyro.ai
Apache License 2.0
236 stars 20 forks source link

Add pytest marks funsor.testing.requires_backend, excludes_backend #570

Closed fritzo closed 3 years ago

fritzo commented 3 years ago

This adds pytest marks @requires_backend and @excludes_backend to make it easier to write backend-specific tests.