[NumPy-Tickets] [NumPy] #1242: numpy.matlib has no tests

NumPy Trac numpy-tickets@scipy....
Sat Jul 31 06:49:36 CDT 2010


#1242: numpy.matlib has no tests
---------------------+------------------------------------------------------
  Reporter:  pv      |       Owner:  somebody
      Type:  defect  |      Status:  closed  
  Priority:  high    |   Milestone:  1.5.0   
 Component:  Other   |     Version:          
Resolution:  fixed   |    Keywords:          
---------------------+------------------------------------------------------
Changes (by pv):

  * status:  needs_review => closed
  * resolution:  => fixed


Comment:

 Looks good, I went ahead and committed in r8567

 {{{
 +def test_empty():
 +    x = np.matlib.empty((2,))
 +    assert_(isinstance(x, np.matrix))
 +    assert_(x.shape, (1,2))
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1242#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list