From b731307290bf30e69ddd3f8ecdf589962a8de6be Mon Sep 17 00:00:00 2001 From: SeYeD Date: Sun, 5 Nov 2023 15:37:06 +0330 Subject: [PATCH] fix coverage --- tests/test_cond.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/test_cond.py b/tests/test_cond.py index 579c838..838cf28 100644 --- a/tests/test_cond.py +++ b/tests/test_cond.py @@ -81,7 +81,4 @@ def test_complex_expression(self): # Test invalid operator def test_invalid_operator(self): with pytest.raises(InvalidOperator) as err: - cond = Cond(25, "invalid_operator", 20, "High", "Low") - dict(cond) - - assert "Operator invalid_operator does not exists" in err.__str__() + Cond(25, "invalid_operator", 20, "High", "Low")