Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
33167: avoid printing of output
Browse files Browse the repository at this point in the history
  • Loading branch information
mwageringel authored and seblabbe committed Jan 27, 2022
1 parent 986ed53 commit ab57121
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/features/lrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def is_functional(self):

expected_list = ["Volume= 1", "Volume=1"]
if all(result.stdout.find(expected) == -1 for expected in expected_list):
print(result.stdout)
return FeatureTestResult(self, False,
reason="Output of `{command}` did not contain the expected result {expected}.".format(
reason="Output of `{command}` did not contain the expected result {expected}; output: {result.stdout}".format(
command=" ".join(command),
expected=" or ".join(expected_list)))
expected=" or ".join(expected_list),
result=result))

# Check #2
# Checking whether `lrsnash` can handle the new input format
Expand Down

0 comments on commit ab57121

Please sign in to comment.