From 70083035fd7dc951cbee9a7bf0c06412463e8af9 Mon Sep 17 00:00:00 2001 From: Jake Selig Date: Wed, 20 Sep 2023 14:18:41 -0600 Subject: [PATCH] chore: print string program diff --- Makefile | 2 +- tests/test_qcs_job.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 72be14a..d8d3e73 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ check-types: .PHONY: test test: - python -m pytest -v --cov=$(PACKAGE_NAME) --cov-report=term --doctest-modules tests qiskit_rigetti -x + python -m pytest -v --cov=$(PACKAGE_NAME) --cov-report=term --doctest-modules tests qiskit_rigetti .PHONY: docs docs: diff --git a/tests/test_qcs_job.py b/tests/test_qcs_job.py index 35f68ca..4327e92 100644 --- a/tests/test_qcs_job.py +++ b/tests/test_qcs_job.py @@ -95,7 +95,7 @@ def before_execute_hook(quil: Program) -> Program: make_job(backend, circuit, qc, before_execute=[before_execute_hook]) program: Program = native_quil_to_executable_spy.call_args[0][0] - assert program == new_quil + assert str(program) == str(new_quil) def test_init__ensure_native_quil__true(backend: RigettiQCSBackend, mocker: MockerFixture):