We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cabd019 commit 55331b5Copy full SHA for 55331b5
tests/conftest.py
@@ -5,10 +5,7 @@
5
import tests.random_circuit
6
7
SEED = 25
8
-
9
10
-def pytest_configure() -> None:
11
- pytest.depth = 1
+DEPTH = 1
12
13
14
@pytest.fixture()
@@ -35,7 +32,7 @@ def nqb(fx_rng: Generator) -> int:
35
32
36
33
@pytest.fixture
37
34
def rand_circ(nqb, fx_rng: Generator) -> graphix.transpiler.Circuit:
38
- return tests.random_circuit.get_rand_circuit(nqb, pytest.depth, fx_rng)
+ return tests.random_circuit.get_rand_circuit(nqb, DEPTH, fx_rng)
39
40
41
0 commit comments