Skip to content

Commit fc2301d

Browse files
committed
Fix linter errors
1 parent cd4e62d commit fc2301d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/entrypoints/test_display_entrypoint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
from guidellm.benchmark import display_benchmarks_report
88

9-
109
# Set to true to re-write the expected output.
1110
REGENERATE_ARTIFACTS = False
1211

@@ -43,7 +42,8 @@ def generic_test_display_entrypoint(filename, capfd, get_test_asset_dir):
4342
expected_output_path = asset_dir / "benchmarks_stripped_output.txt"
4443
if REGENERATE_ARTIFACTS:
4544
expected_output_path.write_text(out)
46-
assert False # Fail to prevent accidentally leaving this set
45+
# Fail to prevent accidentally leaving regeneration mode on
46+
pytest.fail("Test bypassed to regenerate output")
4747
else:
4848
with expected_output_path.open(encoding="utf_8") as file:
4949
expected_output = file.read()

0 commit comments

Comments
 (0)