[Scipy-tickets] [SciPy] #873: No tests for changeset 5575

SciPy Trac scipy-tickets@scipy....
Sat Jul 17 08:40:43 CDT 2010


#873: No tests for changeset 5575
----------------------+-----------------------------------------------------
 Reporter:  stefan    |       Owner:  somebody
     Type:  defect    |      Status:  new     
 Priority:  normal    |   Milestone:  0.9.0   
Component:  scipy.io  |     Version:  devel   
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by rgommers):

  * milestone:  0.8.0 => 0.9.0


Comment:

 Fixes were incomplete it seems. This is with 0.8.0rc3:
 {{{
 With python2.5/2.6 I've found only two problems on MacOS X 10.5/PPC
 (already present in
 rc1 and rc2, sorry I did not get around to report them earlier):

 I.
 ======================================================================
 ERROR: test_wavfile.test_read_1
 ----------------------------------------------------------------------
 Traceback (most recent call last):
  File "/sw/lib/python2.6/site-packages/nose/case.py", line 186, in runTest
    self.test(*self.arg)
  File "/sw/lib/python2.6/site-packages/scipy/io/tests/test_wavfile.py",
 line 14, in test_read_1
    rate, data = wavfile.read(datafile('test-44100-le-1ch-4bytes.wav'))
  File "/sw/lib/python2.6/site-packages/scipy/io/wavfile.py", line 124, in
 read
    return rate, data
 UnboundLocalError: local variable 'data' referenced before assignment
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/873#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list