summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2013-06-04 12:46:30 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2013-06-04 12:46:30 +0000
commit4ffc9760a3c1de8149e4ef03208d6ad9e5605bbf (patch)
tree9702aa52229ee6ca5035744c61a04ee5b5e2da7e /test
parent9b44460d285ce318bcad3d8e69b9f8bcb6f2d3c1 (diff)
downloaddocutils-4ffc9760a3c1de8149e4ef03208d6ad9e5605bbf.tar.gz
Consistently use "utf-8" (not "utf8") in magic comment giving source encoding.
Fixes problems with Docutils installed in "virtualenv" https://sourceforge.net/p/docutils/patches/105/ git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7668 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'test')
-rw-r--r--test/test__init__.py2
-rw-r--r--test/test_command_line.py2
-rw-r--r--test/test_error_reporting.py2
-rwxr-xr-xtest/test_parsers/test_rst/test_TableParser.py2
-rwxr-xr-xtest/test_parsers/test_rst/test_inline_markup.py2
-rw-r--r--test/test_transforms/test_smartquotes.py2
-rwxr-xr-xtest/test_writers/test_latex2e.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/test/test__init__.py b/test/test__init__.py
index 3fc5b2769..31c344340 100644
--- a/test/test__init__.py
+++ b/test/test__init__.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# .. coding: utf8
+# .. coding: utf-8
# $Id$
# Author: Günter Milde <milde@users.sourceforge.net>
# Copyright: This module has been placed in the public domain.
diff --git a/test/test_command_line.py b/test/test_command_line.py
index c82b22dfb..e7e3faa77 100644
--- a/test/test_command_line.py
+++ b/test/test_command_line.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# .. coding: utf8
+# .. coding: utf-8
# $Id$
# Author: Günter Milde <milde@users.sourceforge.net>
# Copyright: This module has been placed in the public domain.
diff --git a/test/test_error_reporting.py b/test/test_error_reporting.py
index 89ae7ae8d..d5c223451 100644
--- a/test/test_error_reporting.py
+++ b/test/test_error_reporting.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# .. coding: utf8
+# .. coding: utf-8
# $Id$
# Author: Günter Milde <milde@users.sourceforge.net>
# Copyright: This module has been placed in the public domain.
diff --git a/test/test_parsers/test_rst/test_TableParser.py b/test/test_parsers/test_rst/test_TableParser.py
index 874efae56..72a0b4393 100755
--- a/test/test_parsers/test_rst/test_TableParser.py
+++ b/test/test_parsers/test_rst/test_TableParser.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# coding: utf8
+# coding: utf-8
# $Id$
# Author: David Goodger <goodger@python.org>
diff --git a/test/test_parsers/test_rst/test_inline_markup.py b/test/test_parsers/test_rst/test_inline_markup.py
index c123a1772..d707b7b67 100755
--- a/test/test_parsers/test_rst/test_inline_markup.py
+++ b/test/test_parsers/test_rst/test_inline_markup.py
@@ -1,5 +1,5 @@
#! /usr/bin/env python
-# -*- coding: utf8 -*-
+# -*- coding: utf-8 -*-
# $Id$
# Author: David Goodger <goodger@python.org>
diff --git a/test/test_transforms/test_smartquotes.py b/test/test_transforms/test_smartquotes.py
index 3c059133a..26388e929 100644
--- a/test/test_transforms/test_smartquotes.py
+++ b/test/test_transforms/test_smartquotes.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python
-# -*- coding: utf8 -*-
+# -*- coding: utf-8 -*-
# $Id$
#
# :Copyright: © 2011 Günter Milde.
diff --git a/test/test_writers/test_latex2e.py b/test/test_writers/test_latex2e.py
index d7b6223f8..e81c1430b 100755
--- a/test/test_writers/test_latex2e.py
+++ b/test/test_writers/test_latex2e.py
@@ -1,4 +1,4 @@
-# -*- coding: utf8 -*-
+# -*- coding: utf-8 -*-
#! /usr/bin/env python
# $Id$