summaryrefslogtreecommitdiff
path: root/tests/test_ext_autosummary.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_autosummary.py')
-rw-r--r--tests/test_ext_autosummary.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ext_autosummary.py b/tests/test_ext_autosummary.py
index 069fdb722..ff0c68a6f 100644
--- a/tests/test_ext_autosummary.py
+++ b/tests/test_ext_autosummary.py
@@ -52,8 +52,8 @@ def test_mangle_signature():
TEST = [[y.strip() for y in x.split("::")] for x in TEST.split("\n")
if '::' in x]
for inp, outp in TEST:
- res = mangle_signature(inp).strip().replace(u"\u00a0", " ")
- assert res == outp, (u"'%s' -> '%s' != '%s'" % (inp, res, outp))
+ res = mangle_signature(inp).strip().replace("\u00a0", " ")
+ assert res == outp, ("'%s' -> '%s' != '%s'" % (inp, res, outp))
def test_extract_summary(capsys):