Skip to content

Commit 8f2639b

Browse files
LouisTsai-Csiespencer-tb
authored andcommitted
chore: update comment
1 parent d71761a commit 8f2639b

File tree

1 file changed

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

1 file changed

+1
-5
lines changed

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

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,7 @@ def pytest_configure(config: pytest.Config) -> None:
4444
def pytest_collection_modifyitems(
4545
config: pytest.Config, items: list[pytest.Item]
4646
) -> None:
47-
"""
48-
Filter tests based on repricing marker when both -m repricing and
49-
benchmark flags are specified.
50-
"""
47+
"""Filter tests based on repricing marker"""
5148
gas_benchmark_value = config.getoption("gas_benchmark_value")
5249
fixed_opcode_count = config.getoption("fixed_opcode_count")
5350

@@ -114,7 +111,6 @@ def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
114111
)
115112

116113
if "fixed_opcode_count" in metafunc.fixturenames:
117-
# Only parametrize if test has repricing marker
118114
if fixed_opcode_counts:
119115
opcode_counts = [
120116
int(x.strip()) for x in fixed_opcode_counts.split(",")

0 commit comments

Comments
 (0)