5656 -------
5757 out : ndarray
5858 The drawn samples, arranged according to `shape`. If the
59- shape given is (m,n,...), then the shape of `out` is is
59+ shape given is (m,n,...), then the shape of `out` is
6060 (m,n,...,N).
6161
6262 In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
6363 value drawn from the distribution.
6464 list of str
6565 This is not a real return value. It exists to test
6666 anonymous return values.
67+ no_description
6768
6869 Other Parameters
6970 ----------------
@@ -184,7 +185,7 @@ def test_other_parameters():
184185
185186
186187def test_returns ():
187- assert_equal (len (doc ['Returns' ]), 2 )
188+ assert_equal (len (doc ['Returns' ]), 3 )
188189 arg , arg_type , desc = doc ['Returns' ][0 ]
189190 assert_equal (arg , 'out' )
190191 assert_equal (arg_type , 'ndarray' )
@@ -197,6 +198,11 @@ def test_returns():
197198 assert desc [0 ].startswith ('This is not a real' )
198199 assert desc [- 1 ].endswith ('anonymous return values.' )
199200
201+ arg , arg_type , desc = doc ['Returns' ][2 ]
202+ assert_equal (arg , 'no_description' )
203+ assert_equal (arg_type , '' )
204+ assert not '' .join (desc ).strip ()
205+
200206
201207def test_yields ():
202208 section = doc_yields ['Yields' ]
@@ -365,14 +371,15 @@ def test_str():
365371-------
366372out : ndarray
367373 The drawn samples, arranged according to `shape`. If the
368- shape given is (m,n,...), then the shape of `out` is is
374+ shape given is (m,n,...), then the shape of `out` is
369375 (m,n,...,N).
370376
371377 In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
372378 value drawn from the distribution.
373379list of str
374380 This is not a real return value. It exists to test
375381 anonymous return values.
382+ no_description
376383
377384Other Parameters
378385----------------
@@ -496,7 +503,7 @@ def test_sphinx_str():
496503
497504 **out** : ndarray
498505 The drawn samples, arranged according to `shape`. If the
499- shape given is (m,n,...), then the shape of `out` is is
506+ shape given is (m,n,...), then the shape of `out` is
500507 (m,n,...,N).
501508
502509 In other words, each entry ``out[i,j,...,:]`` is an N-dimensional
@@ -506,6 +513,9 @@ def test_sphinx_str():
506513 This is not a real return value. It exists to test
507514 anonymous return values.
508515
516+ no_description
517+ ..
518+
509519:Other Parameters:
510520
511521 **spam** : parrot
0 commit comments