We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bde0ea commit 471d6b0Copy full SHA for 471d6b0
1 file changed
tests/core/test_action.py
@@ -380,9 +380,7 @@ def test_safe_expr_arithmetic_mod_pow():
380
def test_safe_expr_unary_ops():
381
assert _eval_value(Condition.safe_expr("-x"), {"x": 3}) == -3
382
assert _eval_value(Condition.safe_expr("+x"), {"x": 3}) == 3
383
- assert Condition.safe_expr("not flag").run(State({"flag": False})) == {
384
- Condition.KEY: True
385
- }
+ assert Condition.safe_expr("not flag").run(State({"flag": False})) == {Condition.KEY: True}
386
387
388
def test_safe_expr_negative_literal():
0 commit comments