summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Geisler <martin@geisler.net>2013-08-28 10:08:20 +0200
committerMartin Geisler <martin@geisler.net>2013-08-28 10:08:20 +0200
commitcfd2b298aadb81fd5608d8c963ffb84d1f2f143d (patch)
treea0b58e450e5c502c55458feb71dc1ca5f05eb925
parent8c079b3b0a06a7e7328d67f74012367878884935 (diff)
downloadmako-cfd2b298aadb81fd5608d8c963ffb84d1f2f143d.tar.gz
Fix docstrings to use "UTF-8" instead of "utf8"
The UTF-8 FAQ says this is the correct name for the encoding. http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 The official name and spelling of this encoding is UTF-8, where UTF stands for UCS Transformation Format. Please do not write UTF-8 in any documentation text in other ways (such as utf8 or UTF_8), unless of course you refer to a variable name and not the encoding itself.
-rw-r--r--test/test_exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_exceptions.py b/test/test_exceptions.py
index 74bc34c..5160f8e 100644
--- a/test/test_exceptions.py
+++ b/test/test_exceptions.py
@@ -57,7 +57,7 @@ class ExceptionsTest(TemplateTest):
@requires_pygments_14
def test_utf8_html_error_template_pygments(self):
- """test the html_error_template with a Template containing utf8
+ """test the html_error_template with a Template containing UTF-8
chars"""
if compat.py3k:
@@ -105,7 +105,7 @@ ${u'привет'}
@requires_no_pygments_exceptions
def test_utf8_html_error_template_no_pygments(self):
- """test the html_error_template with a Template containing utf8
+ """test the html_error_template with a Template containing UTF-8
chars"""
if compat.py3k: