Skip to content

Commit 5a491bd

Browse files
committed
improve lint
1 parent efb983f commit 5a491bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_automated_planner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ def test_execute_action():
2828
def test_state_has_term():
2929
apla = AutomatedPlanner("data/domain.pddl", "data/problem.pddl")
3030
is_goal = apla.state_has_term(apla.initial_state, apla.goals[0])
31-
assert is_goal == False
31+
assert not is_goal
3232

3333

3434
def test_state_assertion():
3535
apla = AutomatedPlanner("data/domain.pddl", "data/problem.pddl")
36-
assert apla.satisfies(apla.problem.goal, apla.initial_state) == False
36+
assert not apla.satisfies(apla.problem.goal, apla.initial_state)

0 commit comments

Comments
 (0)