testtools: Update to new upstream revision.
[kai/samba.git] / lib / testtools / testtools / testcase.py
index ee5e296cd46965620d2c24b1b1b31843324570d1..07278be0e4f6664fe7e21d890cc3b9bcf378577b 100644 (file)
@@ -113,13 +113,13 @@ def run_test_with(test_runner, **kwargs):
 def _copy_content(content_object):
     """Make a copy of the given content object.
 
-    The content within `content_object` is iterated and saved. This is useful
-    when the source of the content is volatile, a log file in a temporary
-    directory for example.
+    The content within ``content_object`` is iterated and saved. This is
+    useful when the source of the content is volatile, a log file in a
+    temporary directory for example.
 
     :param content_object: A `content.Content` instance.
     :return: A `content.Content` instance with the same mime-type as
-        `content_object` and a non-volatile copy of its content.
+        ``content_object`` and a non-volatile copy of its content.
     """
     content_bytes = list(content_object.iter_bytes())
     content_callback = lambda: content_bytes
@@ -127,7 +127,7 @@ def _copy_content(content_object):
 
 
 def gather_details(source_dict, target_dict):
-    """Merge the details from `source_dict` into `target_dict`.
+    """Merge the details from ``source_dict`` into ``target_dict``.
 
     :param source_dict: A dictionary of details will be gathered.
     :param target_dict: A dictionary into which details will be gathered.