diff --git a/forest/benchmarking/tests/conftest.py b/forest/benchmarking/tests/conftest.py index 7e8fd09c..897af0d9 100644 --- a/forest/benchmarking/tests/conftest.py +++ b/forest/benchmarking/tests/conftest.py @@ -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)