remove unicode from code
Change-Id: Iea91567941e16007750498114d279dde12571fb8
This commit is contained in:
parent
0e7ac78c82
commit
204fe38386
|
@ -45,8 +45,8 @@ source_suffix = '.rst'
|
||||||
master_doc = 'index'
|
master_doc = 'index'
|
||||||
|
|
||||||
# General information about the project.
|
# General information about the project.
|
||||||
project = u'os-testr'
|
project = 'os-testr'
|
||||||
copyright = u'2015, Matthew Treinish'
|
copyright = '2015, Matthew Treinish'
|
||||||
|
|
||||||
# If true, '()' will be appended to :func: etc. cross-reference text.
|
# If true, '()' will be appended to :func: etc. cross-reference text.
|
||||||
add_function_parentheses = True
|
add_function_parentheses = True
|
||||||
|
@ -79,8 +79,8 @@ htmlhelp_basename = '%sdoc' % project
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index',
|
('index',
|
||||||
'%s.tex' % project,
|
'%s.tex' % project,
|
||||||
u'%s Documentation' % project,
|
'%s Documentation' % project,
|
||||||
u'Matthew Treinish', 'manual'),
|
'Matthew Treinish', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
man_pages = [('ostestr', 'ostestr', 'tooling to run OpenStack tests',
|
man_pages = [('ostestr', 'ostestr', 'tooling to run OpenStack tests',
|
||||||
|
@ -99,8 +99,8 @@ man_pages = [('ostestr', 'ostestr', 'tooling to run OpenStack tests',
|
||||||
# (source start file, target name, title, author, documentclass
|
# (source start file, target name, title, author, documentclass
|
||||||
# [howto/manual]).
|
# [howto/manual]).
|
||||||
latex_documents = [
|
latex_documents = [
|
||||||
('index', 'doc-os-testr.tex', u'Os-testr',
|
('index', 'doc-os-testr.tex', 'Os-testr',
|
||||||
u'OpenStack Foundation', 'manual'),
|
'OpenStack Foundation', 'manual'),
|
||||||
]
|
]
|
||||||
|
|
||||||
# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664
|
# Disable usage of xindy https://bugzilla.redhat.com/show_bug.cgi?id=1643664
|
||||||
|
|
|
@ -81,7 +81,7 @@ class TestSubunit2html(base.TestCase):
|
||||||
def test_generate_report_with_no_ascii_characters(self, test_cls):
|
def test_generate_report_with_no_ascii_characters(self, test_cls):
|
||||||
# The test examines a case where an error containing no ascii
|
# The test examines a case where an error containing no ascii
|
||||||
# characters is received.
|
# characters is received.
|
||||||
test = test_cls(u'example.path.to.test1.method')
|
test = test_cls('example.path.to.test1.method')
|
||||||
try:
|
try:
|
||||||
raise Exception('\xe2\x82\xa5')
|
raise Exception('\xe2\x82\xa5')
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Loading…
Reference in New Issue