summary refs log tree commit diff stats
path: root/ranger/ext/human_readable.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/ext/human_readable.py')
-rw-r--r--ranger/ext/human_readable.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/ext/human_readable.py b/ranger/ext/human_readable.py
index 385e56f4..6541989e 100644
--- a/ranger/ext/human_readable.py
+++ b/ranger/ext/human_readable.py
@@ -56,4 +56,5 @@ def human_readable(byte, separator=' '):  # pylint: disable=too-many-return-stat
 
 if __name__ == '__main__':
     import doctest
-    doctest.testmod()
+    import sys
+    sys.exit(doctest.testmod()[0])