We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d8c0d50 + 52f8be9 commit 9dec542Copy full SHA for 9dec542
toolz/tests/test_curried_doctests.py
@@ -0,0 +1,11 @@
1
+import doctest
2
+import toolz
3
+
4
5
+def test_doctests():
6
+ toolz.__test__ = {}
7
+ for name, func in vars(toolz).items():
8
+ if isinstance(func, toolz.curry):
9
+ toolz.__test__[name] = func.func
10
+ assert doctest.testmod(toolz).failed == 0
11
+ del toolz.__test__
0 commit comments