mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
refactor: Remove u-prefix from strings
This commit is contained in:
@@ -83,7 +83,7 @@ def test_texinfo(app, status, warning):
|
||||
docutilsconf='[general]\nsource_link=true\n')
|
||||
def test_docutils_source_link_with_nonascii_file(app, status, warning):
|
||||
srcdir = path(app.srcdir)
|
||||
mb_name = u'\u65e5\u672c\u8a9e'
|
||||
mb_name = '\u65e5\u672c\u8a9e'
|
||||
try:
|
||||
(srcdir / (mb_name + '.txt')).write_text('')
|
||||
except UnicodeEncodeError:
|
||||
|
||||
Reference in New Issue
Block a user