From 80bcf9a67863ffebcd8685ed264f19f4e0c8ff62 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 24 Aug 2016 08:35:53 -0700 Subject: [PATCH] make docstring prettier when converted to html --- certbot/plugins/util_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/certbot/plugins/util_test.py b/certbot/plugins/util_test.py index 58dcfdd38..27ede6533 100644 --- a/certbot/plugins/util_test.py +++ b/certbot/plugins/util_test.py @@ -79,7 +79,7 @@ def psutil_available(): """Checks if psutil can be imported. :rtype: bool - :returns: True if psutil can be imported, otherwise, False + :returns: ``True`` if psutil can be imported, otherwise, ``False`` """ try: @@ -95,11 +95,11 @@ def skipUnless(condition, reason): This implements the basic functionality of unittest.skipUnless which is only available on Python 2.7+. - :param bool condition: If False, the test will be skipped + :param bool condition: If ``False``, the test will be skipped :param str reason: the reason for skipping the test - :rtype: function - :returns: a decorator that will hide tests unless condition is True + :rtype: callable + :returns: decorator that hides tests unless condition is ``True`` """ if hasattr(unittest, "skipUnless"):