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
In [1]: import tables
In [2]: tables.test()
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PyTables version: 2.0rc1
HDF5 version: 1.6.5
NumPy version: 1.0.3.dev3673
Zlib version: 1.2.3
BZIP2 version: 1.0.2 (30-Dec-2001)
Python version: 2.5 (r25:51908, Apr 25 2007, 10:16:50)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)]
Platform: darwin-i386
Byte-ordering: little
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Performing only a light (yet comprehensive) subset of the test suite.
If you want a more complete test, try passing the --heavy flag to this script
(or set the 'heavy' parameter in case you are using tables.test() call).
The whole suite will take more than 2 minutes to complete on a relatively
modern CPU and around 80 MB of main memory.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Skipping Numeric test suite.
Skipping numarray test suite.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py:255:
FiltersWarning: compression library ``lzo`` is not available; using ``zlib``
instead
% (complib, default_complib), FiltersWarning )
.................................................................................................................................................................................................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...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: Doctest: tables.filters.Filters._pack
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.filters.Filters._pack
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 174, in _pack
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 178, in tables.filters.Filters._pack
Failed example:
type(Filters()._pack())
Expected:
<type 'numpy.int64'>
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 181, in tables.filters.Filters._pack
Failed example:
hexl(Filters()._pack())
Expected:
'0x0L'
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 183, in tables.filters.Filters._pack
Failed example:
hexl(Filters(1, shuffle=False)._pack())
Expected:
'0x101L'
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.filters.Filters._unpack
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 138, in _unpack
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.filters.Filters.copy
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 290, in copy
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/filters.py",
line 303, in tables.filters.Filters.copy
Failed example:
filters1 == filters2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 235, in Atom
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 300, in tables.atom.Atom
Failed example:
atom1 == 'foo'
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 302, in tables.atom.Atom
Failed example:
atom1 == atom2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 304, in tables.atom.Atom
Failed example:
atom2 != atom1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 306, in tables.atom.Atom
Failed example:
atom1 == atom3
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.copy
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 540, in copy
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_dtype
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 386, in from_dtype
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_kind
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 442, in from_kind
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_sctype
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 360, in from_sctype
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.Atom.from_type
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 416, in from_type
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.EnumAtom
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 758, in EnumAtom
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 798, in tables.atom.EnumAtom
Failed example:
atom1 == enum
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 800, in tables.atom.EnumAtom
Failed example:
atom1 == atom2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 802, in tables.atom.EnumAtom
Failed example:
atom2 != atom1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 804, in tables.atom.EnumAtom
Failed example:
atom1 == atom3
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 806, in tables.atom.EnumAtom
Failed example:
atom1 == atom4
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.atom.split_type
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 70, in split_type
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/atom.py",
line 78, in tables.atom.split_type
Failed example:
split_type('int32')
Expected:
('int', 4)
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 39, in Enum
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 73, in tables.misc.enum.Enum
Failed example:
priority == prio2
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 90, in tables.misc.enum.Enum
Failed example:
redv == priority['red']
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 92, in tables.misc.enum.Enum
Failed example:
redv > priority.green
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 94, in tables.misc.enum.Enum
Failed example:
priority.red == priority.orange
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 102, in tables.misc.enum.Enum
Failed example:
priority(redv)
Expected:
'red'
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__call__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 284, in __call__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 304, in tables.misc.enum.Enum.__call__
Failed example:
enum(5)
Expected:
'T2'
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__contains__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 243, in __contains__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 264, in tables.misc.enum.Enum.__contains__
Failed example:
'T1' in enum
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__eq__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 358, in __eq__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 380, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum1
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 382, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum2 == enum3
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 384, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum4
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 386, in tables.misc.enum.Enum.__eq__
Failed example:
enum5 == enum1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 388, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == enum6
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 394, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == {'T0': 0, 'T1': 2}
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 396, in tables.misc.enum.Enum.__eq__
Failed example:
enum1 == ['T0', 'T1']
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__getattr__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 202, in __getattr__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__getitem__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 161, in __getitem__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__iter__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 337, in __iter__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__len__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 323, in __len__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__ne__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 407, in __ne__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 429, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum1
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 431, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum2 != enum3
Expected:
False
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 433, in tables.misc.enum.Enum.__ne__
Failed example:
enum1 != enum4
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 435, in tables.misc.enum.Enum.__ne__
Failed example:
enum5 != enum1
Expected:
True
Got nothing
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/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
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/doctest.py",
line 2112, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for tables.misc.enum.Enum.__repr__
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 444, in __repr__
----------------------------------------------------------------------
File
"/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/misc/enum.py",
line 454, in tables.misc.enum.Enum.__repr__
Failed example:
repr(Enum({'name': 10}))
Expected:
"Enum({'name': 10})"
Got nothing
----------------------------------------------------------------------
Ran 2082 tests in 57.927s
FAILED (failures=21)
---------------------------------------------------------------------------
<type 'exceptions.SystemExit'> Traceback (most recent call last)
/Users/bgranger/<ipython console> in <module>()
/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/tables/tests/test_all.py
in test(verbose, heavy)
152 print '-=' * 38
153
--> 154 unittest.main(defaultTest='tables.tests.suite')
155
156
/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/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):
/Users/bgranger/txpython-0.1/local/Frameworks/Python.framework/Versions/2.5/lib/python2.5/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
<type 'exceptions.SystemExit'>: True
Type %exit or %quit to exit IPython (%Exit or %Quit do so unconditionally).
In [3]:-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users