On Wednesday 25 April 2007 11:51, Brian Granger wrote:
> Hi,
>
> I just installed pytables 2.0rc1 on my Intel Mac and got many test
> failures when running tables.test():
>
> I attaching a txt file that has the result of running the test suite.
> Should I be worried about these failures?
>
> Thanks for a fantastic package!
>
> Brian
I also got a few failing tests, although not as many as Brian. I also noticed
that I needed to run the tests as root because test() tries to create its
hdf5 files under the /var/lib/python2.4 It should use /tmp or allow the user
to specify a location. Maybe ~/tmp?
I also get many more erors when I run the tests under IPython.
--
Joshua Kugler
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/ ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111
>>> tables.test(heavy=True)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version: 2.0rc1
HDF5 version: 1.6.4
NumPy version: 1.0.2
Zlib version: 1.2.3
LZO version: 1.08 (Jul 12 2002)
BZIP2 version: 1.0.3 (15-Feb-2005)
Python version: 2.4.3 (#2, Oct 6 2006, 07:52:30)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
Platform: linux2-i686
Byte-ordering: little
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Performing the complete test suite!
Numeric (version 24.2) is present. Adding the Numeric test suite.
numarray (version 1.5.1) is present. Adding the numarray test suite.
*Warning*: Numarray version is lower than recommended: 1.5.1 < 1.5.2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
...........................................FF...................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
................................................................................................
.......................................................EEE......................................
................................................................................................
.....................
======================================================================
ERROR: Reading an old version file node.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/nodes/tests/t
est_filenode.py", line 842, in setUp
self.fnode = filenode.openNode(self.h5file.root.test, 'a+')
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
li
ne 878, in __getattr__
return self._f_getChild(name)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
li
ne 757, in _f_getChild
self._g_checkHasChild(childName)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
li
ne 432, in _g_checkHasChild
raise NoSuchNodeError(
NoSuchNodeError: group ``/`` does not have a child named ``test``
======================================================================
ERROR: Writing an old version file node.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/nodes/tests/t
est_filenode.py", line 842, in setUp
self.fnode = filenode.openNode(self.h5file.root.test, 'a+')
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
li
ne 878, in __getattr__
return self._f_getChild(name)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
li
ne 757, in _f_getChild
self._g_checkHasChild(childName)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
li
ne 432, in _g_checkHasChild
raise NoSuchNodeError(
NoSuchNodeError: group ``/`` does not have a child named ``test``
======================================================================
ERROR: Accessing attributes in an old version file node.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/nodes/tests/test_filenode.py",
line 842, in setUp
self.fnode = filenode.openNode(self.h5file.root.test, 'a+')
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 878, in __getattr__
return self._f_getChild(name)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 757, in _f_getChild
self._g_checkHasChild(childName)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 432, in _g_checkHasChild
raise NoSuchNodeError(
NoSuchNodeError: group ``/`` does not have a child named ``test``
======================================================================
FAIL: test (tables.tests.test_hdf5compat.ContiguousCompoundTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/common.py",
line 248, in newmethod
return oldmethod(self, *args, **kwargs)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 45, in test
self._test()
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 207, in _test
self.assert_('/test_var/structure variable' in self.h5file)
AssertionError
======================================================================
FAIL: test (tables.tests.test_hdf5compat.ContiguousCompoundAppendTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/common.py",
line 248, in newmethod
return oldmethod(self, *args, **kwargs)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 45, in test
self._test()
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 247, in _test
self.assert_('/test_var/structure variable' in self.h5file)
AssertionError
----------------------------------------------------------------------
Ran 3477 tests in 391.768s
FAILED (failures=2, errors=3)
Closing remaining open files: /tmp/tmptlLv2T.h5... done /tmp/tmpD81ODe.h5...
done /tmp/tmpvpvMK1.h5... done
[EMAIL PROTECTED]:~# ipython
Python 2.4.3 (#2, Oct 6 2006, 07:52:30)
Type "copyright", "credits" or "license" for more information.
IPython 0.7.1.fix1 -- An enhanced Interactive Python.
? -> Introduction to IPython's features.
%magic -> Information about IPython's 'magic' % functions.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: import tables
In [2]: tables.test(heavy=True)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version: 2.0rc1
HDF5 version: 1.6.4
NumPy version: 1.0.2
Zlib version: 1.2.3
LZO version: 1.08 (Jul 12 2002)
BZIP2 version: 1.0.3 (15-Feb-2005)
Python version: 2.4.3 (#2, Oct 6 2006, 07:52:30)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)]
Platform: linux2-i686
Byte-ordering: little
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Performing the complete test suite!
Numeric (version 24.2) is present. Adding the Numeric test suite.
numarray (version 1.5.1) is present. Adding the numarray test suite.
*Warning*: Numarray version is lower than recommended: 1.5.1 < 1.5.2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
.................................................................................................................................................................................................Out[2]:
<type 'numpy.int64'>
Out[2]: '0x0L'
Out[2]: '0x101L'
Out[2]: '0x30109L'
FOut[2]: Filters(complevel=0, shuffle=False, fletcher32=False)
Out[2]: Filters(complevel=1, complib='zlib', shuffle=False, fletcher32=False)
Out[2]: Filters(complevel=9, complib='zlib', shuffle=True, fletcher32=True)
FOut[2]: True
Out[2]: False
F...............................................................................Out[2]:
False
Out[2]: True
Out[2]: False
Out[2]: False
Out[2]: True
FOut[2]: False
FOut[2]: Int16Atom(shape=(2, 2), dflt=0)
Out[2]: StringAtom(itemsize=5, shape=(), dflt='hello')
Out[2]: Float64Atom(shape=(), dflt=0.0)
FOut[2]: Int16Atom(shape=(2, 2), dflt=0)
Out[2]: Int32Atom(shape=(2, 2), dflt=0)
Out[2]: StringAtom(itemsize=5, shape=(), dflt='hello')
FOut[2]: Int16Atom(shape=(2, 2), dflt=0)
Out[2]: Float64Atom(shape=(), dflt=0.0)
FOut[2]: BoolAtom(shape=(), dflt=False)
Out[2]: Int16Atom(shape=(2, 2), dflt=0)
FOut[2]: False
Out[2]: True
Out[2]: False
Out[2]: False
Out[2]: False
Out[2]: True
FOut[2]: ('int', 4)
Out[2]: ('string', None)
F..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................Out[2]:
True
Out[2]: True
Out[2]: True
Out[2]: False
Out[2]: 'red'
Out[2]: True
FOut[2]: 'T2'
Out[2]: True
FOut[2]: True
Out[2]: False
FOut[2]: True
Out[2]: True
Out[2]: False
Out[2]: False
Out[2]: False
Out[2]: False
Out[2]: False
Out[2]: False
FOut[2]: 2
FOut[2]: 2
FOut[2]: True
FOut[2]: 10
FOut[2]: False
Out[2]: False
Out[2]: True
Out[2]: True
Out[2]: True
FOut[2]: "Enum({'name': 10})"
F....................................................................................................................................FF..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................EEE...........................................................................................................................................................
======================================================================
ERROR: Reading an old version file node.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/nodes/tests/test_filenode.py",
line 842, in setUp
self.fnode = filenode.openNode(self.h5file.root.test, 'a+')
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 878, in __getattr__
return self._f_getChild(name)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 757, in _f_getChild
self._g_checkHasChild(childName)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 432, in _g_checkHasChild
raise NoSuchNodeError(
NoSuchNodeError: group ``/`` does not have a child named ``test``
======================================================================
ERROR: Writing an old version file node.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/nodes/tests/test_filenode.py",
line 842, in setUp
self.fnode = filenode.openNode(self.h5file.root.test, 'a+')
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 878, in __getattr__
return self._f_getChild(name)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 757, in _f_getChild
self._g_checkHasChild(childName)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 432, in _g_checkHasChild
raise NoSuchNodeError(
NoSuchNodeError: group ``/`` does not have a child named ``test``
======================================================================
ERROR: Accessing attributes in an old version file node.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/nodes/tests/test_filenode.py",
line 842, in setUp
self.fnode = filenode.openNode(self.h5file.root.test, 'a+')
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 878, in __getattr__
return self._f_getChild(name)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 757, in _f_getChild
self._g_checkHasChild(childName)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/group.py",
line 432, in _g_checkHasChild
raise NoSuchNodeError(
NoSuchNodeError: group ``/`` does not have a child named ``test``
======================================================================
FAIL: Doctest: tables.filters.Filters._pack
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.filters.Filters._pack
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 174, in _pack
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 178, in tables.filters.Filters._pack
Failed example:
type(Filters()._pack())
Expected:
<type 'numpy.int64'>
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 181, in tables.filters.Filters._pack
Failed example:
hexl(Filters()._pack())
Expected:
'0x0L'
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 183, in tables.filters.Filters._pack
Failed example:
hexl(Filters(1, shuffle=False)._pack())
Expected:
'0x101L'
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 185, in tables.filters.Filters._pack
Failed example:
hexl(Filters(9, 'zlib', shuffle=True, fletcher32=True)._pack())
Expected:
'0x30109L'
Got nothing
======================================================================
FAIL: Doctest: tables.filters.Filters._unpack
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.filters.Filters._unpack
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 138, in _unpack
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 142, in tables.filters.Filters._unpack
Failed example:
Filters._unpack(0)
Expected:
Filters(complevel=0, shuffle=False, fletcher32=False)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 144, in tables.filters.Filters._unpack
Failed example:
Filters._unpack(0x101)
Expected:
Filters(complevel=1, complib='zlib', shuffle=False, fletcher32=False)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 146, in tables.filters.Filters._unpack
Failed example:
Filters._unpack(0x30109)
Expected:
Filters(complevel=9, complib='zlib', shuffle=True, fletcher32=True)
Got nothing
======================================================================
FAIL: Doctest: tables.filters.Filters.copy
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.filters.Filters.copy
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 290, in copy
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 303, in tables.filters.Filters.copy
Failed example:
filters1 == filters2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/filters.py",
line 305, in tables.filters.Filters.copy
Failed example:
filters1 is filters2
Expected:
False
Got nothing
======================================================================
FAIL: Doctest: tables.atom.Atom
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 235, in Atom
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 300, in tables.atom.Atom
Failed example:
atom1 == 'foo'
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 302, in tables.atom.Atom
Failed example:
atom1 == atom2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 304, in tables.atom.Atom
Failed example:
atom2 != atom1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 306, in tables.atom.Atom
Failed example:
atom1 == atom3
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 308, in tables.atom.Atom
Failed example:
atom3 != atom2
Expected:
True
Got nothing
======================================================================
FAIL: Doctest: tables.atom.Atom.copy
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.copy
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 540, in copy
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 553, in tables.atom.Atom.copy
Failed example:
atom1 is atom2
Expected:
False
Got nothing
======================================================================
FAIL: Doctest: tables.atom.Atom.from_dtype
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_dtype
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 386, in from_dtype
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 395, in tables.atom.Atom.from_dtype
Failed example:
Atom.from_dtype(numpy.dtype((numpy.int16, (2, 2))))
Expected:
Int16Atom(shape=(2, 2), dflt=0)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 397, in tables.atom.Atom.from_dtype
Failed example:
Atom.from_dtype(numpy.dtype('S5'), dflt='hello')
Expected:
StringAtom(itemsize=5, shape=(), dflt='hello')
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 399, in tables.atom.Atom.from_dtype
Failed example:
Atom.from_dtype(numpy.dtype('Float64'))
Expected:
Float64Atom(shape=(), dflt=0.0)
Got nothing
======================================================================
FAIL: Doctest: tables.atom.Atom.from_kind
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_kind
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 442, in from_kind
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 450, in tables.atom.Atom.from_kind
Failed example:
Atom.from_kind('int', itemsize=2, shape=(2, 2))
Expected:
Int16Atom(shape=(2, 2), dflt=0)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 452, in tables.atom.Atom.from_kind
Failed example:
Atom.from_kind('int', shape=(2, 2))
Expected:
Int32Atom(shape=(2, 2), dflt=0)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 454, in tables.atom.Atom.from_kind
Failed example:
Atom.from_kind('string', itemsize=5, dflt='hello')
Expected:
StringAtom(itemsize=5, shape=(), dflt='hello')
Got nothing
======================================================================
FAIL: Doctest: tables.atom.Atom.from_sctype
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_sctype
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 360, in from_sctype
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 369, in tables.atom.Atom.from_sctype
Failed example:
Atom.from_sctype(numpy.int16, shape=(2, 2))
Expected:
Int16Atom(shape=(2, 2), dflt=0)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 375, in tables.atom.Atom.from_sctype
Failed example:
Atom.from_sctype('Float64')
Expected:
Float64Atom(shape=(), dflt=0.0)
Got nothing
======================================================================
FAIL: Doctest: tables.atom.Atom.from_type
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_type
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 416, in from_type
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 423, in tables.atom.Atom.from_type
Failed example:
Atom.from_type('bool')
Expected:
BoolAtom(shape=(), dflt=False)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 425, in tables.atom.Atom.from_type
Failed example:
Atom.from_type('int16', shape=(2, 2))
Expected:
Int16Atom(shape=(2, 2), dflt=0)
Got nothing
======================================================================
FAIL: Doctest: tables.atom.EnumAtom
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.EnumAtom
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 758, in EnumAtom
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 798, in tables.atom.EnumAtom
Failed example:
atom1 == enum
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 800, in tables.atom.EnumAtom
Failed example:
atom1 == atom2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 802, in tables.atom.EnumAtom
Failed example:
atom2 != atom1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 804, in tables.atom.EnumAtom
Failed example:
atom1 == atom3
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 806, in tables.atom.EnumAtom
Failed example:
atom1 == atom4
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 808, in tables.atom.EnumAtom
Failed example:
atom4 != atom1
Expected:
True
Got nothing
======================================================================
FAIL: Doctest: tables.atom.split_type
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.split_type
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 70, in split_type
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 78, in tables.atom.split_type
Failed example:
split_type('int32')
Expected:
('int', 4)
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/atom.py",
line 80, in tables.atom.split_type
Failed example:
split_type('string')
Expected:
('string', None)
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 39, in Enum
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 73, in tables.misc.enum.Enum
Failed example:
priority == prio2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 90, in tables.misc.enum.Enum
Failed example:
redv == priority['red']
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 92, in tables.misc.enum.Enum
Failed example:
redv > priority.green
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 94, in tables.misc.enum.Enum
Failed example:
priority.red == priority.orange
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 102, in tables.misc.enum.Enum
Failed example:
priority(redv)
Expected:
'red'
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 104, in tables.misc.enum.Enum
Failed example:
priority.red == priority[priority(priority.red)]
Expected:
True
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__call__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__call__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 284, in __call__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 304, in tables.misc.enum.Enum.__call__
Failed example:
enum(5)
Expected:
'T2'
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 306, in tables.misc.enum.Enum.__call__
Failed example:
enum(42, None) is None
Expected:
True
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__contains__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__contains__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 243, in __contains__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 264, in tables.misc.enum.Enum.__contains__
Failed example:
'T1' in enum
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 266, in tables.misc.enum.Enum.__contains__
Failed example:
'foo' in enum
Expected:
False
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__eq__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__eq__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 358, in __eq__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 380, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum1
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 382, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum2 == enum3
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 384, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum4
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 386, in tables.misc.enum.Enum.__eq__
Failed example:
enum5 == enum1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 388, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum6
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 394, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == {'T0': 0, 'T1': 2}
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 396, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == ['T0', 'T1']
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 398, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == 2
Expected:
False
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__getattr__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__getattr__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 202, in __getattr__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 219, in tables.misc.enum.Enum.__getattr__
Failed example:
enum.T1
Expected:
2
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__getitem__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__getitem__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 161, in __getitem__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 178, in tables.misc.enum.Enum.__getitem__
Failed example:
enum['T1']
Expected:
2
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__iter__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__iter__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 337, in __iter__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 350, in tables.misc.enum.Enum.__iter__
Failed example:
enumvals == enumdict
Expected:
True
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__len__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__len__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 323, in __len__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 330, in tables.misc.enum.Enum.__len__
Failed example:
len(Enum(['e%d' % i for i in range(10)]))
Expected:
10
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__ne__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__ne__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 407, in __ne__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 429, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 431, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum2 != enum3
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 433, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum4
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 435, in tables.misc.enum.Enum.__ne__
Failed example:
enum5 != enum1
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 437, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum6
Expected:
True
Got nothing
======================================================================
FAIL: Doctest: tables.misc.enum.Enum.__repr__
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.4/doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__repr__
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 444, in __repr__
----------------------------------------------------------------------
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/misc/enum.py",
line 454, in tables.misc.enum.Enum.__repr__
Failed example:
repr(Enum({'name': 10}))
Expected:
"Enum({'name': 10})"
Got nothing
======================================================================
FAIL: test (tables.tests.test_hdf5compat.ContiguousCompoundTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/common.py",
line 248, in newmethod
return oldmethod(self, *args, **kwargs)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 45, in test
self._test()
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 207, in _test
self.assert_('/test_var/structure variable' in self.h5file)
AssertionError
======================================================================
FAIL: test (tables.tests.test_hdf5compat.ContiguousCompoundAppendTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/common.py",
line 248, in newmethod
return oldmethod(self, *args, **kwargs)
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 45, in test
self._test()
File
"/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_hdf5compat.py",
line 247, in _test
self.assert_('/test_var/structure variable' in self.h5file)
AssertionError
----------------------------------------------------------------------
Ran 3477 tests in 348.867s
FAILED (failures=23, errors=3)
---------------------------------------------------------------------------
exceptions.SystemExit Traceback (most recent
call last)
/home/jkugler/<ipython console>
/usr/lib/python2.4/site-packages/tables-2.0rc1-py2.4-linux-i686.egg/tables/tests/test_all.py
in test(verbose, heavy)
152 print '-=' * 38
153
--> 154 unittest.main(defaultTest='tables.tests.suite')
155
156
/usr/lib/python2.4/unittest.py in __init__(self, module, defaultTest, argv,
testRunner, testLoader)
757 self.progName = os.path.basename(argv[0])
758 self.parseArgs(argv)
--> 759 self.runTests()
760
761 def usageExit(self, msg=None):
/usr/lib/python2.4/unittest.py in runTests(self)
795 self.testRunner = TextTestRunner(verbosity=self.verbosity)
796 result = self.testRunner.run(self.test)
--> 797 sys.exit(not result.wasSuccessful())
798
799 main = TestProgram
SystemExit: True
Type exit or quit to exit IPython (%Exit or %Quit do so unconditionally).
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users