summaryrefslogtreecommitdiff
path: root/tests/test_metadata.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-15 23:02:28 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2018-12-16 21:28:51 +0900
commitc6bd84a61467a5a60adb11af7b5a7b99ac591fbf (patch)
tree239ba4d0bba3e6bf925af917d7c6d219ae1a6f64 /tests/test_metadata.py
parentd160adb8118ebe19ee74b3fbd55478490c473ed8 (diff)
downloadsphinx-git-c6bd84a61467a5a60adb11af7b5a7b99ac591fbf.tar.gz
refactor: Remove u-prefix from strings
Diffstat (limited to 'tests/test_metadata.py')
-rw-r--r--tests/test_metadata.py42
1 files changed, 21 insertions, 21 deletions
diff --git a/tests/test_metadata.py b/tests/test_metadata.py
index cf91061cf..c81b1939f 100644
--- a/tests/test_metadata.py
+++ b/tests/test_metadata.py
@@ -26,27 +26,27 @@ def test_docinfo(app, status, warning):
"""
app.build()
expecteddocinfo = {
- 'author': u'David Goodger',
- 'authors': [u'Me', u'Myself', u'I'],
- 'address': u'123 Example Street\nExample, EX Canada\nA1B 2C3',
- 'field name': u'This is a generic bibliographic field.',
- 'field name 2': (u'Generic bibliographic fields may contain multiple '
- u'body elements.\n\nLike this.'),
- 'status': u'This is a “work in progress”',
- 'version': u'1',
- 'copyright': (u'This document has been placed in the public domain. '
- u'You\nmay do with it as you wish. You may copy, modify,'
- u'\nredistribute, reattribute, sell, buy, rent, lease,\n'
- u'destroy, or improve it, quote it at length, excerpt,\n'
- u'incorporate, collate, fold, staple, or mutilate it, or '
- u'do\nanything else to it that your or anyone else’s '
- u'heart\ndesires.'),
- 'contact': u'goodger@python.org',
- 'date': u'2006-05-21',
- 'organization': u'humankind',
- 'revision': u'4564',
+ 'author': 'David Goodger',
+ 'authors': ['Me', 'Myself', 'I'],
+ 'address': '123 Example Street\nExample, EX Canada\nA1B 2C3',
+ 'field name': 'This is a generic bibliographic field.',
+ 'field name 2': ('Generic bibliographic fields may contain multiple '
+ 'body elements.\n\nLike this.'),
+ 'status': 'This is a “work in progress”',
+ 'version': '1',
+ 'copyright': ('This document has been placed in the public domain. '
+ 'You\nmay do with it as you wish. You may copy, modify,'
+ '\nredistribute, reattribute, sell, buy, rent, lease,\n'
+ 'destroy, or improve it, quote it at length, excerpt,\n'
+ 'incorporate, collate, fold, staple, or mutilate it, or '
+ 'do\nanything else to it that your or anyone else’s '
+ 'heart\ndesires.'),
+ 'contact': 'goodger@python.org',
+ 'date': '2006-05-21',
+ 'organization': 'humankind',
+ 'revision': '4564',
'tocdepth': 1,
- 'orphan': u'',
- 'nocomments': u'',
+ 'orphan': '',
+ 'nocomments': '',
}
assert app.env.metadata['index'] == expecteddocinfo