[NumPy-Tickets] [NumPy] #1479: test_universal_newline has string bug in python 3.1

NumPy Trac numpy-tickets@scipy....
Thu May 6 21:17:10 CDT 2010


#1479: test_universal_newline has string bug in python 3.1
---------------------+------------------------------------------------------
 Reporter:  charris  |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:  2.0.0   
Component:  Other    |     Version:          
 Keywords:           |  
---------------------+------------------------------------------------------
 {{{
 ERROR: test_universal_newline (test_io.TestLoadTxt)
 ----------------------------------------------------------------------
 Traceback (most recent call last):
   File "/usr/local/lib/python3.1/site-
 packages/numpy/lib/tests/test_io.py", line 412, in test_universal_newline
     data = np.loadtxt(name)
   File "/usr/local/lib/python3.1/site-packages/numpy/lib/npyio.py", line
 632, in loadtxt
     first_vals = split_line(first_line)
   File "/usr/local/lib/python3.1/site-packages/numpy/lib/npyio.py", line
 610, in split_line
     line = line.split(comments)[0].strip()
 TypeError: Can't convert 'bytes' object to str implicitly

 }}}

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


More information about the NumPy-Tickets mailing list