[Numpy-tickets] [NumPy] #973: Error compiling trunk using MSVS 9

NumPy numpy-tickets@scipy....
Wed Jan 7 06:15:52 CST 2009


#973: Error compiling trunk using MSVS 9
--------------------+-------------------------------------------------------
 Reporter:  faltet  |        Owner:  somebody
     Type:  defect  |       Status:  new     
 Priority:  normal  |    Milestone:  1.3.0   
Component:  Other   |      Version:  devel   
 Severity:  normal  |   Resolution:          
 Keywords:          |  
--------------------+-------------------------------------------------------
Comment (by faltet):

 I'm back to the office and tried with a fresh trunk version: the
 compilation went well now.  So I think you can close this ticket safely
 now.

 FWIW, I've run the test suite and got some errors:

 {{{
 Running unit tests for numpy
 NumPy version 1.3.0.dev6298
 NumPy is installed in C:\Python26\lib\site-packages\numpy
 Python version 2.6 (r26:66721, Oct  2 2008, 11:35:03) [MSC v.1500 32 bit
 (Intel)
 ]
 nose version 0.10.4
 <clip>
 ----------------------------------------------------------------------
 Ran 1651 tests in 4.875s

 FAILED (KNOWNFAIL=1, SKIP=1, failures=18)

 }}}

 but all seem related with the output formatting that you are working out,
 something like:

 {{{
 ======================================================================
 FAIL: Check formatting when using print
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python26\lib\site-packages\nose\case.py", line 182, in runTest
     self.test(*self.arg)
   File "C:\Python26\lib\site-packages\numpy\core\tests\test_print.py",
 line 115,
  in check_complex_type_print
     _test_redirected_print(complex(x), tp)
   File "C:\Python26\lib\site-packages\numpy\core\tests\test_print.py",
 line 104,
  in _test_redirected_print
     err_msg='print failed for type%s' % tp)
   File "C:\Python26\Lib\site-packages\numpy\testing\utils.py", line 183,
 in asse
 rt_equal
     raise AssertionError(msg)
 AssertionError:
 Items are not equal: print failed for type<type 'numpy.complex128'>
  ACTUAL: '(1e+20+0j)\n'
  DESIRED: '(1e+020+0j)\n'
 }}}

 or:

 {{{
 ======================================================================
 FAIL: test_print.test_locale_single
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "C:\Python26\lib\site-packages\nose\case.py", line 182, in runTest
     self.test(*self.arg)
   File "C:\Python26\Lib\site-packages\numpy\testing\decorators.py", line
 82, in
 skipper
     return f(*args, **kwargs)
   File "C:\Python26\lib\site-packages\numpy\core\tests\test_print.py",
 line 164,
  in test_locale_single
     return _test_locale_independance(np.float32)
   File "C:\Python26\lib\site-packages\numpy\core\tests\test_print.py",
 line 157,
  in _test_locale_independance
     err_msg='Failed locale test for type %s' % tp)
   File "C:\Python26\Lib\site-packages\numpy\testing\utils.py", line 183,
 in asse
 rt_equal
     raise AssertionError(msg)
 AssertionError:
 Items are not equal: Failed locale test for type <type 'numpy.float32'>
  ACTUAL: '1,2'
  DESIRED: '1.2'

 }}}

 But I guess that you are already aware of these.

 Thanks!

-- 
Ticket URL: <http://www.scipy.org/scipy/numpy/ticket/973#comment:6>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list