diff options
author | Matthew Treinish <mtreinish@kortar.org> | 2020-12-02 12:11:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-02 12:11:09 -0500 |
commit | 77d9864497062f4f997f7ff156e85fba5a3667cc (patch) | |
tree | 43df86f25aa52e5c9c42393cbcdef1d00b50cf20 | |
parent | bf58ab1e9e30a58d2b244cf295b4f46350f9450f (diff) | |
download | testtools-77d9864497062f4f997f7ff156e85fba5a3667cc.tar.gz |
Update testtools/content.py
Co-Authored-By: Jelmer Vernooij <jelmer@jelmer.uk>
-rw-r--r-- | testtools/content.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testtools/content.py b/testtools/content.py index d4342d6..5538988 100644 --- a/testtools/content.py +++ b/testtools/content.py @@ -102,7 +102,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) |