Skip to content

Commit

Permalink
formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MarquessV committed Oct 18, 2024
1 parent 4f9a600 commit 71dffbf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions forest/benchmarking/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,24 +45,22 @@ def reset(self):
return pytest.skip("This test requires a running local QVM: {}".format(e))


@pytest.fixture(scope="module")
@pytest.fixture(scope='module')
def qvm():
try:
qc = get_qc("9q-square-qvm", compiler_timeout=15.0)
qc = get_qc('9q-square-qvm', compiler_timeout=15.0)
qc.run(Program(I(0)))
return qc
except (RequestError, TimeoutError) as e:
return pytest.skip(
"This test requires a running local QVM and quilc: {}".format(e)
)
return pytest.skip("This test requires a running local QVM and quilc: {}".format(e))


@pytest.fixture(scope="session")
@pytest.fixture(scope='session')
def wfn():
return WavefunctionSimulator()


@pytest.fixture(scope="session")
@pytest.fixture(scope='session')
def benchmarker():
try:
benchmarker = BenchmarkConnection(timeout=30)
Expand Down

0 comments on commit 71dffbf

Please sign in to comment.