[Numpy-discussion] ANN: NumPy 1.5.0 beta 2

Bruce Southey bsouthey@gmail....
Tue Aug 17 20:32:10 CDT 2010


On Tue, Aug 17, 2010 at 7:07 PM, Ralf Gommers
<ralf.gommers@googlemail.com> wrote:
>
>
> On Wed, Aug 18, 2010 at 12:31 AM, Bruce Southey <bsouthey@gmail.com> wrote:
>>
>> On Tue, Aug 17, 2010 at 10:23 AM, Ralf Gommers
>> <ralf.gommers@googlemail.com> wrote:
>> > I am pleased to announce the availability of the second beta of NumPy
>> > 1.5.0.
>> > This will be the first NumPy release to include support for Python 3, as
>> > well as for Python 2.7.
>> >
>> > Please try this beta and report any problems on the NumPy mailing list.
>> > Especially with Python 3 testing will be very useful. On Linux and OS X
>> > building from source should be straightforward, for Windows a binary
>> > installer is provided. There is one important known issue on Windows
>> > left,
>> > in fromfile and tofile (ticket 1583).
>> >
>> > Binaries, sources and release notes can be found at
>> > https://sourceforge.net/projects/numpy/files/
>> >
>> > Enjoy,
>> > Ralf
>> > _______________________________________________
>> > NumPy-Discussion mailing list
>> > NumPy-Discussion@scipy.org
>> > http://mail.scipy.org/mailman/listinfo/numpy-discussion
>> >
>> >
>>
>> Hi,
>> How do you get nose installed under Windows with Python3.1 such as a
>> single package or command?
>
>
> There is a nose branch that works with py3k here:
> http://bitbucket.org/jpellerin/nose3/. Just install with "python setup.py
> install".
>
> I will try not to forget to mention this in the next announcement.
>
> Cheers,
> Ralf
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>
Okay,
While I did not want to use hg, it was not very painful...

It did result in 38 errors (given below) but I did not see anything
that I would suggest a numpy error. All these seem to be Windows file
access related problems which I did not see on the same machine:
NumPy version 1.5.0b2
NumPy is installed in E:\Python26\lib\site-packages\numpy
Python version 2.6.3 (r263rc1:75186, Oct  2 2009, 20:40:30) [MSC
v.1500 32 bit (Intel)]
nose version 0.11.1

So it could be nose related.

Bruce


Python 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import numpy
>>> numpy.test()
Running unit tests for numpy
NumPy version 1.5.0b2
NumPy is installed in E:\Python31\lib\site-packages\numpy
Python version 3.1.2 (r312:79149, Mar 21 2010, 00:41:52) [MSC v.1500
32 bit (Intel)]
nose version 3.0.0
.........................................................................................................................................EEEEEEEEEEEEEEEEEEEEEEEEEE.EEEE..EEEEEEEE........................................................................................................................................................................................................................................................................................................................K......................................................K...........................................................................................................................................................................K..........................................................K..K..............................K...SK.S.......S............................................................................S..................................................................................................................................................................................................................................................................................................................................................................................................................................................K.........K.......................................................................................................................................................................................................................................................................................................................................................................................................................................................S...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_multiarray.TestIO.test_ascii
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1017, in test_ascii
    self._check_from('1 , 2 , 3 , 4', [1.,2.,3.,4.], sep=',')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_ascii
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmp2ig8l6'

======================================================================
ERROR: test_multiarray.TestIO.test_binary
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 999, in test_binary
    dtype='<f4')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_binary
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpscsscn'

======================================================================
ERROR: test_multiarray.TestIO.test_counted_string
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1005, in test_counted_string
    self._check_from('1,2,3,4', [1., 2., 3., 4.], count=4, sep=',')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_counted_string
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmp9rxs2l'

======================================================================
ERROR: test_multiarray.TestIO.test_counted_string_with_ws
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1014, in test_counted_string_with_ws
    sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_counted_string_with_ws
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpzt3a3k'

======================================================================
ERROR: test_multiarray.TestIO.test_dtype
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1028, in test_dtype
    self._check_from('1,2,3,4', v, sep=',', dtype=np.int_)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_dtype
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmppchqal'

======================================================================
ERROR: test_multiarray.TestIO.test_empty_files_binary
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 924, in test_empty_files_binary
    y = fromfile(self.filename)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_empty_files_binary
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmphj2u7m'

======================================================================
ERROR: test_multiarray.TestIO.test_empty_files_text
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 930, in test_empty_files_text
    y = fromfile(self.filename, sep=" ")
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_empty_files_text
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpo6ntr2'

======================================================================
ERROR: test_multiarray.TestIO.test_inf
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 990, in test_inf
    [inf, inf, -inf, inf, -inf, inf, -inf], sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_inf
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpxifvtn'

======================================================================
ERROR: test_multiarray.TestIO.test_locale
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1052, in test_locale
    in_foreign_locale(self.test_numbers)()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_print.py",
line 225, in wrapper
    return func(*args, **kwargs)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 994, in test_numbers
    [1.234, -1.234, .3, .3e55, -123133.1231e+133], sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_locale
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpolcjkt'

======================================================================
ERROR: test_multiarray.TestIO.test_long_sep
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1024, in test_long_sep
    self._check_from('1_x_3_x_4_x_5', [1,3,4,5], sep='_x_')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_long_sep
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmp3ipbyk'

======================================================================
ERROR: test_multiarray.TestIO.test_malformed
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1021, in test_malformed
    self._check_from('1.234 1,234', [1.234, 1.], sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_malformed
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpoksc8c'

======================================================================
ERROR: test_multiarray.TestIO.test_nan
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 986, in test_nan
    sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_nan
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpczlakc'

======================================================================
ERROR: test_multiarray.TestIO.test_numbers
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 994, in test_numbers
    [1.234, -1.234, .3, .3e55, -123133.1231e+133], sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_numbers
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpdqrufv'

======================================================================
ERROR: test_multiarray.TestIO.test_roundtrip_file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 935, in test_roundtrip_file
    self.x.tofile(f)
IOError: first argument must be a string or open file

======================================================================
ERROR: test_multiarray.TestIO.test_roundtrip_file
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpxbqdul'

======================================================================
ERROR: test_multiarray.TestIO.test_roundtrip_filename
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 945, in test_roundtrip_filename
    self.x.tofile(self.filename)
IOError: first argument must be a string or open file

======================================================================
ERROR: test_multiarray.TestIO.test_roundtrip_filename
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpcuiksm'

======================================================================
ERROR: test_multiarray.TestIO.test_string
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1002, in test_string
    self._check_from('1,2,3,4', [1., 2., 3., 4.], sep=',')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_string
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmp88qnvb'

======================================================================
ERROR: test_multiarray.TestIO.test_string_with_ws
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1010, in test_string_with_ws
    self._check_from('1 2  3     4   ', [1, 2, 3, 4], dtype=int, sep=' ')
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 980, in _check_from
    y = np.fromfile(self.filename, **kw)
IOError: first argument must be an open file

======================================================================
ERROR: test_multiarray.TestIO.test_string_with_ws
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmpac6hny'

======================================================================
ERROR: test_multiarray.TestIO.test_tofile_format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1044, in test_tofile_format
    x.tofile(f, sep=',', format='%.2f')
IOError: first argument must be a string or open file

======================================================================
ERROR: test_multiarray.TestIO.test_tofile_format
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmp_ilp7b'

======================================================================
ERROR: test_multiarray.TestIO.test_tofile_sep
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 178, in runTest
    self.test(*self.arg)
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 1033, in test_tofile_sep
    x.tofile(f, sep=',')
IOError: first argument must be a string or open file

======================================================================
ERROR: test_multiarray.TestIO.test_tofile_sep
----------------------------------------------------------------------
Traceback (most recent call last):
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\case.py",
line 370, in tearDown
    try_run(self.inst, ('teardown', 'tearDown'))
  File "E:\Python31\lib\site-packages\nose-3.0.0.dev-py3.1.egg\nose\util.py",
line 469, in try_run
    return func()
  File "E:\Python31\lib\site-packages\numpy\core\tests\test_multiarray.py",
line 918, in tearDown
    os.unlink(self.filename)
WindowsError: [Error 32] The process cannot access the file because it
is being used by another process:
'e:\\users\\me\\appdata\\local\\temp\\tmptkwtce'

----------------------------------------------------------------------
Ran 2423 tests in 30.679s

FAILED (KNOWNFAIL=9, SKIP=5, errors=38)
Traceback (most recent call last):
  File "<pyshell#1>", line 1, in <module>
    numpy.test()
RuntimeError: lost sys.stdout
>>>


More information about the NumPy-Discussion mailing list