From c15c5e03900981e03f76ca2483053f474fe94b87 Mon Sep 17 00:00:00 2001 From: LouisV <louis.vauterin@student-cs.fr> Date: Thu, 13 Oct 2022 18:30:39 +0200 Subject: [PATCH] fix: fix the calculator --- calculator/test_calculator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calculator/test_calculator.py b/calculator/test_calculator.py index 7da8b13..5c86e05 100644 --- a/calculator/test_calculator.py +++ b/calculator/test_calculator.py @@ -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 + _, _, _, divide, calc = setup assert calc("1 + 2") == 3 assert calc("5 - 1") == 4 assert calc("3 * 2") == 6 -- GitLab