Skip to content

Commit dcf46ec

Browse files
Fix incorrect test_invert unit test.
1 parent b18f85a commit dcf46ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/test_filter.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_always():
1616

1717
def test_invert():
1818
assert not (~Always())()
19-
assert ~Never()()
19+
assert (~Never())()
2020

2121
c = ~Condition(lambda: False)
2222
assert c()

0 commit comments

Comments
 (0)