diff options
Diffstat (limited to 'numpy/f2py/tests/test_mixed.py')
-rw-r--r-- | numpy/f2py/tests/test_mixed.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/numpy/f2py/tests/test_mixed.py b/numpy/f2py/tests/test_mixed.py index 28268ecc0..0337538ff 100644 --- a/numpy/f2py/tests/test_mixed.py +++ b/numpy/f2py/tests/test_mixed.py @@ -25,7 +25,7 @@ class TestMixed(util.F2PyTest): @pytest.mark.slow def test_docstring(self): - expected = """ + expected = textwrap.dedent("""\ a = bar11() Wrapper for ``bar11``. @@ -33,6 +33,5 @@ class TestMixed(util.F2PyTest): Returns ------- a : int - """ - assert_equal(self.module.bar11.__doc__, - textwrap.dedent(expected).lstrip()) + """) + assert_equal(self.module.bar11.__doc__, expected) |