Skip to content

Commit d71761a

Browse files
LouisTsai-Csiespencer-tb
authored andcommitted
fix: fixed opcode count logic
1 parent 9e1d888 commit d71761a

File tree

1 file changed

+1
-0
lines changed
  • packages/testing/src/execution_testing/cli/pytest_commands/plugins/shared

1 file changed

+1
-0
lines changed

packages/testing/src/execution_testing/cli/pytest_commands/plugins/shared/benchmarking.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
114114
)
115115

116116
if "fixed_opcode_count" in metafunc.fixturenames:
117+
# Only parametrize if test has repricing marker
117118
if fixed_opcode_counts:
118119
opcode_counts = [
119120
int(x.strip()) for x in fixed_opcode_counts.split(",")

0 commit comments

Comments
 (0)