Skip to content

Commit ce7acab

Browse files
Update test_calculator.py to clarify raw_case fixture usage
Added a comment to the raw_case parameter in the test_calculator_output_matches_legacy function to indicate its purpose as a fixture. This change aims to improve code readability and maintainability by providing clearer context for future developers.
1 parent 43a77db commit ce7acab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_calculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def _legacy_variables_from_dataclasses(variables: list[Variable]) -> list[tuple[
1616

1717

1818
def test_calculator_output_matches_legacy(
19-
raw_case: RawCase,
19+
raw_case: RawCase, # noqa: ARG001 (fixture only; equation/variables derive from it)
2020
equation,
2121
variables,
2222
digits,

0 commit comments

Comments
 (0)