diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-15 23:02:28 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2018-12-16 21:28:51 +0900 |
commit | c6bd84a61467a5a60adb11af7b5a7b99ac591fbf (patch) | |
tree | 239ba4d0bba3e6bf925af917d7c6d219ae1a6f64 /tests/test_util_i18n.py | |
parent | d160adb8118ebe19ee74b3fbd55478490c473ed8 (diff) | |
download | sphinx-git-c6bd84a61467a5a60adb11af7b5a7b99ac591fbf.tar.gz |
refactor: Remove u-prefix from strings
Diffstat (limited to 'tests/test_util_i18n.py')
-rw-r--r-- | tests/test_util_i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_util_i18n.py b/tests/test_util_i18n.py index bcc6a2cd9..70246d32e 100644 --- a/tests/test_util_i18n.py +++ b/tests/test_util_i18n.py @@ -177,7 +177,7 @@ def test_format_date(): assert i18n.format_date(format, date=date, language='') == 'February 07, 2016' assert i18n.format_date(format, date=date, language='unknown') == 'February 07, 2016' assert i18n.format_date(format, date=date, language='en') == 'February 07, 2016' - assert i18n.format_date(format, date=date, language='ja') == u'2月 07, 2016' + assert i18n.format_date(format, date=date, language='ja') == '2月 07, 2016' assert i18n.format_date(format, date=date, language='de') == 'Februar 07, 2016' # raw string |