Skip to content

Commit

Permalink
fix: no cover
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Feb 7, 2025
1 parent 7e4d827 commit 3f12291
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qibojit/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def pytest_addoption(parser):

@pytest.fixture
def backend(backend_name, request):
if request.config.getoption("--gpu_only"):
if request.config.getoption("--gpu_only"): # pragma: no cover
if backend_name not in ("cupy", "cuquantum"):
pytest.skip("Skipping non-gpu backend.")
yield BACKENDS.get(backend_name)()
Expand Down

0 comments on commit 3f12291

Please sign in to comment.