Skip to content

Commit 4018a59

Browse files
Favor print() over logging API in test cases
Signed-off-by: Christian Parpart <[email protected]>
1 parent e2eed9e commit 4018a59

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/timeseries/test_formula_formatter.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@
2525
from frequenz.sdk.timeseries._quantities import Percentage, Quantity
2626
from tests.timeseries.mock_microgrid import MockMicrogrid
2727

28-
LOGGER = logging.getLogger(__name__)
29-
30-
3128
def build_formula(formula: str) -> list[FormulaStep]:
3229
"""Parse the formula and returns the steps.
3330
@@ -68,7 +65,7 @@ def reconstruct(formula: str) -> str:
6865
steps = build_formula(formula)
6966
reconstructed = FormulaFormatter.format(steps)
7067
if formula != reconstructed:
71-
LOGGER.debug("Formula: input %s != output %s", formula, reconstructed)
68+
print(f"Formula: input {formula} != output {reconstructed}")
7269
return reconstructed
7370

7471

0 commit comments

Comments
 (0)