summary refs log tree commit diff stats
path: root/ranger/ext/iter_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/ext/iter_tools.py')
-rw-r--r--ranger/ext/iter_tools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/ext/iter_tools.py b/ranger/ext/iter_tools.py
index f321aee0..c710fbba 100644
--- a/ranger/ext/iter_tools.py
+++ b/ranger/ext/iter_tools.py
@@ -47,4 +47,5 @@ def unique(iterable):
 
 if __name__ == '__main__':
     import doctest
-    doctest.testmod()
+    import sys
+    sys.exit(doctest.testmod()[0])