summaryrefslogtreecommitdiff
path: root/lib/subunit/python/testtools/content.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/subunit/python/testtools/content.py')
-rw-r--r--lib/subunit/python/testtools/content.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/subunit/python/testtools/content.py b/lib/subunit/python/testtools/content.py
index 00c782347b..353e3f0f46 100644
--- a/lib/subunit/python/testtools/content.py
+++ b/lib/subunit/python/testtools/content.py
@@ -44,7 +44,7 @@ class Content(object):
no charset parameter is present in the MIME type. (This is somewhat
arbitrary, but consistent with RFC2617 3.7.1).
- :raises: ValueError If the content type is not text/*.
+ :raises ValueError: If the content type is not text/\*.
"""
if self.content_type.type != "text":
raise ValueError("Not a text type %r" % self.content_type)