Skip to content

Commit

Permalink
fix: set tensorflow to False in test_list_available_backends since re…
Browse files Browse the repository at this point in the history
…moved
  • Loading branch information
MatteoRobbiati committed Nov 20, 2024
1 parent eed754f commit b9e340b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def test_construct_backend(backend):


def test_list_available_backends():
tensorflow = False if platform.system() == "Windows" else True
qulacs = (
False if platform.system() == "Darwin" and sys.version_info[1] == 9 else True
)
Expand All @@ -124,7 +123,7 @@ def test_list_available_backends():
"qibolab": False,
"qibo-cloud-backends": False,
"qibotn": {"cutensornet": False, "qutensornet": True},
"qiboml": {"tensorflow": tensorflow, "pytorch": True},
"qiboml": {"tensorflow": False, "pytorch": True},
}
assert available_backends == list_available_backends(
"qibojit", "qibolab", "qibo-cloud-backends", "qibotn", "qiboml"
Expand Down

0 comments on commit b9e340b

Please sign in to comment.