diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 20:01:43 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-16 20:01:43 +0900 |
commit | ea1d2d06f897a9685faab231b4ba2bca5fe7fbeb (patch) | |
tree | 74df35e11b24abf1393942e7927da20d171ee8ff /tests/test_quickstart.py | |
parent | 2597c4174e386552449991a0a247340de3dbcdcc (diff) | |
parent | 5bf25eb44529cb0546b9b690a142ca7529a062f0 (diff) | |
download | sphinx-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.py | 4 |
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', |