diff options
Diffstat (limited to 'numpy/f2py/tests/test_callback.py')
-rw-r--r-- | numpy/f2py/tests/test_callback.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/f2py/tests/test_callback.py b/numpy/f2py/tests/test_callback.py index 824ef7b0c..21c29ba5f 100644 --- a/numpy/f2py/tests/test_callback.py +++ b/numpy/f2py/tests/test_callback.py @@ -68,7 +68,7 @@ cf2py intent(out) a @pytest.mark.slow def test_docstring(self): - expected = """ + expected = textwrap.dedent("""\ a = t(fun,[fun_extra_args]) Wrapper for ``t``. @@ -93,8 +93,8 @@ cf2py intent(out) a def fun(): return a Return objects: a : int - """ - assert_equal(self.module.t.__doc__, textwrap.dedent(expected).lstrip()) + """) + assert_equal(self.module.t.__doc__, expected) def check_function(self, name): t = getattr(self.module, name) |