Skip to content

Commit dcf9e13

Browse files
committed
fix pep8 condition
1 parent 9d2d18c commit dcf9e13

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_stringified_node():
4545
for act in actions:
4646
next_state = apla.transition(apla.initial_state, act)
4747
next_node = Node(next_state, apla, heuristic_based=True)
48-
assert not "<PyCall.jlwrap PDDL.State" in str(next_node) and not "Set(Julog.Term" in str(next_node)
48+
assert "<PyCall.jlwrap PDDL.State" not in str(next_node) and "Set(Julog.Term" not in str(next_node)
4949

5050
def test_stringified_path():
5151
apla = AutomatedPlanner(
@@ -57,4 +57,4 @@ def test_stringified_path():
5757
next_state = apla.transition(apla.initial_state, act)
5858
path.append(Node(next_state, apla, heuristic_based=True))
5959

60-
assert not "<PyCall.jlwrap PDDL.State" in str(Path(path)) and not "Set(Julog.Term" in str(Path(path))
60+
assert "<PyCall.jlwrap PDDL.State" not in str(Path(path)) and "Set(Julog.Term" not in str(Path(path))

0 commit comments

Comments
 (0)