summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-16 20:01:43 +0900
committerGitHub <noreply@github.com>2018-12-16 20:01:43 +0900
commitea1d2d06f897a9685faab231b4ba2bca5fe7fbeb (patch)
tree74df35e11b24abf1393942e7927da20d171ee8ff /tests/test_quickstart.py
parent2597c4174e386552449991a0a247340de3dbcdcc (diff)
parent5bf25eb44529cb0546b9b690a142ca7529a062f0 (diff)
downloadsphinx-git-ea1d2d06f897a9685faab231b4ba2bca5fe7fbeb.tar.gz
Merge pull request #5803 from jdufresne/encoding-utf8
Avoid respecifying default encoding for .encode()/.decode() calls
Diffstat (limited to 'tests/test_quickstart.py')
-rw-r--r--tests/test_quickstart.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index 248b91d64..5905ae835 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -145,8 +145,8 @@ def test_quickstart_all_answers(tempdir):
'Root path': tempdir,
'Separate source and build': 'y',
'Name prefix for templates': '.',
- 'Project name': u'STASI™'.encode('utf-8'),
- 'Author name': u'Wolfgang Schäuble & G\'Beckstein'.encode('utf-8'),
+ 'Project name': u'STASI™'.encode(),
+ 'Author name': u'Wolfgang Schäuble & G\'Beckstein'.encode(),
'Project version': '2.0',
'Project release': '2.0.1',
'Project language': 'de',