We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2eed9e commit 4018a59Copy full SHA for 4018a59
tests/timeseries/test_formula_formatter.py
@@ -25,9 +25,6 @@
25
from frequenz.sdk.timeseries._quantities import Percentage, Quantity
26
from tests.timeseries.mock_microgrid import MockMicrogrid
27
28
-LOGGER = logging.getLogger(__name__)
29
-
30
31
def build_formula(formula: str) -> list[FormulaStep]:
32
"""Parse the formula and returns the steps.
33
@@ -68,7 +65,7 @@ def reconstruct(formula: str) -> str:
68
65
steps = build_formula(formula)
69
66
reconstructed = FormulaFormatter.format(steps)
70
67
if formula != reconstructed:
71
- LOGGER.debug("Formula: input %s != output %s", formula, reconstructed)
+ print(f"Formula: input {formula} != output {reconstructed}")
72
return reconstructed
73
74
0 commit comments