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")