From 80d5bf774dab8fdaa97eebf43855127102afce2d Mon Sep 17 00:00:00 2001 From: Matthew Coolbeth Date: Tue, 30 Jan 2024 09:58:04 -0500 Subject: [PATCH] Minor formatting tweaks --- test/unit/test_quilbase.py | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/test/unit/test_quilbase.py b/test/unit/test_quilbase.py index add671dd2..5c857b7f4 100644 --- a/test/unit/test_quilbase.py +++ b/test/unit/test_quilbase.py @@ -495,17 +495,7 @@ def def_frame( ) -> DefFrame: optional_args = {k: v for k, v in locals().items() - if k not in["self", "frame"] and v is not None} - # optional_args = [ - # arg - # for arg in [direction, - # initial_frequency, - # hardware_object, - # sample_rate, - # center_frequency, - # channel_delay]: - # if arg is not None - # ] + if k not in ["self", "frame"] and v is not None} return DefFrame(frame, **optional_args) def test_out(self, def_frame: DefFrame, snapshot: SnapshotAssertion): @@ -518,7 +508,6 @@ def test_out(self, def_frame: DefFrame, snapshot: SnapshotAssertion): def test_str(self, def_frame: DefFrame, snapshot: SnapshotAssertion): quil_lines = str(def_frame).splitlines() - print(quil_lines) assert quil_lines[0] == snapshot assert set(quil_lines[1:]) == snapshot