diff options
Diffstat (limited to 'tests/test_autosummary.py')
-rw-r--r-- | tests/test_autosummary.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_autosummary.py b/tests/test_autosummary.py index 7504f11cb..f83e5f33d 100644 --- a/tests/test_autosummary.py +++ b/tests/test_autosummary.py @@ -35,7 +35,7 @@ def test_mangle_signature(): (a=1, b=<SomeClass: a, b, c>, c=3) :: ([a, b, c]) """ - TEST = [map(lambda x: x.strip(), x.split("::")) for x in TEST.split("\n") + 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", " ") |