Skip to content

Commit 144a8ae

Browse files
committed
more test
1 parent cf82a25 commit 144a8ae

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/snippets/builtin_any.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
assert any([1]);
2+
assert not any([]);
3+
14
def anything(a):
25
return a
36

@@ -6,4 +9,4 @@ def __iter__(self):
69
while True:
710
yield True
811

9-
assert True == any(map(anything, Test()))
12+
assert any(map(anything, Test()))

0 commit comments

Comments
 (0)