summaryrefslogtreecommitdiff
path: root/numpy/f2py/tests
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2012-11-17 20:24:37 +0200
committerPauli Virtanen <pav@iki.fi>2012-11-17 20:24:37 +0200
commit4b500dd8dbeb6e1c02a32cbc7ab27b5f6db3331f (patch)
tree4723c06077a84f1482f17fb616e790ac7428b346 /numpy/f2py/tests
parentab13a65447d245e64b59c466827b2415d77ec186 (diff)
downloadnumpy-4b500dd8dbeb6e1c02a32cbc7ab27b5f6db3331f.tar.gz
ENH: f2py: add 'Wrapper for ...' text to the docstring
Diffstat (limited to 'numpy/f2py/tests')
-rw-r--r--numpy/f2py/tests/test_callback.py2
-rw-r--r--numpy/f2py/tests/test_mixed.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/numpy/f2py/tests/test_callback.py b/numpy/f2py/tests/test_callback.py
index 3ed6d1da5..4ee071690 100644
--- a/numpy/f2py/tests/test_callback.py
+++ b/numpy/f2py/tests/test_callback.py
@@ -43,6 +43,8 @@ cf2py intent(out) a
assert_equal(self.module.t.__doc__,
"a = t(fun,[fun_extra_args])\n"
"\n"
+ "Wrapper for ``t``.\n"
+ "\n"
"Parameters\n"
"----------\n"
"fun : call-back function\n"
diff --git a/numpy/f2py/tests/test_mixed.py b/numpy/f2py/tests/test_mixed.py
index 70a1d7c66..0263c528c 100644
--- a/numpy/f2py/tests/test_mixed.py
+++ b/numpy/f2py/tests/test_mixed.py
@@ -23,7 +23,7 @@ class TestMixed(util.F2PyTest):
@dec.slow
def test_docstring(self):
assert_equal(self.module.bar11.__doc__,
- "a = bar11()\n\nReturns\n-------\na : int\n")
+ "a = bar11()\n\nWrapper for ``bar11``.\n\nReturns\n-------\na : int\n")
if __name__ == "__main__":
import nose