about summary refs log tree commit diff stats
path: root/ranger/ext/lazy_property.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/ext/lazy_property.py')
-rw-r--r--ranger/ext/lazy_property.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/ext/lazy_property.py b/ranger/ext/lazy_property.py
index bb54bd5e..42b61979 100644
--- a/ranger/ext/lazy_property.py
+++ b/ranger/ext/lazy_property.py
@@ -59,4 +59,5 @@ class lazy_property(object):  # pylint: disable=invalid-name,too-few-public-meth
 
 if __name__ == '__main__':
     import doctest
-    doctest.testmod()
+    import sys
+    sys.exit(doctest.testmod()[0])