Skip to content

Commit

Permalink
fix: minor test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Jan 24, 2025
1 parent 36844fa commit d905a65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/qibojit/tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ def test_thread_setter(backend):
import numba

original_threads = numba.get_num_threads()
backend.set_threads(1)
assert numba.get_num_threads() == 1
backend.set_threads(original_threads)


@pytest.mark.parametrize("array_type", [None, "float32", "float64"])
Expand Down

0 comments on commit d905a65

Please sign in to comment.