Skip to content

Commit

Permalink
fix: fix to test metabackend load
Browse files Browse the repository at this point in the history
  • Loading branch information
BrunoLiegiBastonLiegi committed Oct 28, 2024
1 parent e328f44 commit 2f7d9c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_backends.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@


def test_metabackend_load(backend):
assert isinstance(MetaBackend.load(backend.platform), backend.__class__)
name = backend.name if backend.name != "qiboml" else backend.platform
assert isinstance(MetaBackend.load(name), backend.__class__)


def test_metabackend_load_error():
Expand Down

0 comments on commit 2f7d9c2

Please sign in to comment.