Skip to content
Snippets Groups Projects
Commit 5e41471d authored by Arthur Jacquin's avatar Arthur Jacquin
Browse files

fix: linting for ci

parent 551d3ed4
No related branches found
No related tags found
No related merge requests found
Pipeline #46383 failed
......@@ -3,7 +3,7 @@ Test module for the calculator module.
"""
import pytest
from calculator.calculator import Calculator
from calculator.operators import STANDARD_OPERATORS, Operator
from calculator.operators import STANDARD_OPERATORS
@pytest.fixture(scope="module", name="setup")
......@@ -49,7 +49,7 @@ def test_evaluation(setup):
"""
Test the evaluation.
"""
plus, minus, times, divide, calc = setup
_, _, _, _, calc = setup
assert calc("1 + 2") == 3
# À toi de tester la fonction __call__ de Calculator.
# Essaie de tester tous les opérateurs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment