summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/basics/tests/filter.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/basics/tests/filter.py b/tests/basics/tests/filter.py
new file mode 100644
index 000000000..5883e3d00
--- /dev/null
+++ b/tests/basics/tests/filter.py
@@ -0,0 +1,2 @@
+print(list(filter(lambda x: x & 1, range(-3, 4))))
+print(list(filter(None, range(-3, 4))))