From 8879c3ef4d9c545f776535f565622cf213aec599 Mon Sep 17 00:00:00 2001 From: Melf Date: Thu, 21 Nov 2024 18:08:18 +0000 Subject: [PATCH] fix --- pytket/tests/classical_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pytket/tests/classical_test.py b/pytket/tests/classical_test.py index e20886482b..c3b38c4672 100644 --- a/pytket/tests/classical_test.py +++ b/pytket/tests/classical_test.py @@ -497,9 +497,9 @@ def test_wasm_argtypes() -> None: cmd = c.get_commands()[0] - assert cmd.args[0].isinstance(unit_id.Bit) - assert cmd.args[1].isinstance(unit_id.Bit) - assert cmd.args[2].isinstance(unit_id.WasmState) + assert isinstance(cmd.args[0], unit_id.Bit) + assert isinstance(cmd.args[1], unit_id.Bit) + assert isinstance(cmd.args[2], unit_id.WasmState) def test_wasm_uid_from_circuit() -> None: