[NumPy-Tickets] [NumPy] #2060: Blasdot tests with "out" argument failing

NumPy Trac numpy-tickets@scipy....
Mon Feb 20 13:29:35 CST 2012


#2060: Blasdot tests with "out" argument failing
------------------------+---------------------------------------------------
 Reporter:  rgommers    |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  1.7.0   
Component:  numpy.core  |     Version:  1.6.1   
 Keywords:  blasdot     |  
------------------------+---------------------------------------------------
 On Python 2.5 seeing these failures, works on 3.1:

 {{{
 ======================================================================
 ERROR: test_blasdot.test_dot_3args
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python25\lib\site-packages\nose-0.11.3-py2.5.egg\nose\case.py",
 line 186, in runTest
     self.test(*self.arg)
   File "C:\Python25\Lib\site-packages\numpy\core\tests\test_blasdot.py",
 line 51, in test_dot_3args
     np.dot(f,v,r)
 TypeError: function takes exactly 2 arguments (3 given)

 ======================================================================
 ERROR: test_blasdot.test_dot_3args_errors
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python25\lib\site-packages\nose-0.11.3-py2.5.egg\nose\case.py",
 line 186, in runTest
     self.test(*self.arg)
   File "C:\Python25\Lib\site-packages\numpy\core\tests\test_blasdot.py",
 line 69, in test_dot_3args_errors
     assert_raises(ValueError, np.dot, f, v, r)
   File "C:\Python25\Lib\site-packages\numpy\testing\utils.py", line 1053,
 in assert_raises
     return nose.tools.assert_raises(*args,**kwargs)
   File "C:\Python25\lib\unittest.py", line 320, in failUnlessRaises
     callableObj(*args, **kwargs)
 TypeError: function takes exactly 2 arguments (3 given)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2060>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list