Skip to content

Commit 2351156

Browse files
committed
fixup: memory profiling
1 parent 4bd794f commit 2351156

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/pytest_codspeed/instruments/analysis.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ def measure_pedantic(
9191
uri: str,
9292
) -> T:
9393
if pedantic_options.rounds != 1 or pedantic_options.iterations != 1:
94-
# FIXME: Use the real instrument here
9594
warnings.warn(
96-
"Analysis instrument ignores rounds and iterations settings "
97-
"in pedantic mode"
95+
f"{self.mode.value.capitalize()} instrument ignores rounds and "
96+
"iterations settings in pedantic mode"
9897
)
9998
if not self.instrument_hooks:
10099
args, kwargs = pedantic_options.setup_and_get_args_kwargs()

0 commit comments

Comments
 (0)