A Friday 23 April 2010 16:18:16 Lucas Sinclair esgrigué:
>With pleasure. Here are the results:
>
>[sincl...@sv-17-019 ~]$ python
> /usr/lib/python2.6/site-packages/tables-2.1.2-py2.6-linux-x86_64.egg/tables
>/tests/test_basics.py OldFlavorTestCase verbose Running
> OldFlavorTestCase.test
>------------------------------
>* Checking old flavor ``Object``.
>* Checking old flavor ``String``.
>* Checking old flavor ``Tuple``.
>* Checking old flavor ``Int``.
>* Checking old flavor ``VLString``.
>* Checking old flavor ``Float``.
>* Checking old flavor ``List``.
>* Checking old flavor ``Numeric``.
>dtype is not equal: int32 != int64
Ok. This is the problem. Numeric is not well supported on 64-bit platforms.
This only affects to Numeric/PyTables couple. Hope you are not planning to
use them together.
>
>Test failed: <failed>
>
>F
>======================================================================
>FAIL: None (__main__.OldFlavorTestCase)
>----------------------------------------------------------------------
>Traceback (most recent call last):
> File
> "/usr/lib/python2.6/site-packages/tables-2.1.2-py2.6-linux-x86_64.egg/table
>s/tests/common.py", line 248, in newmethod return oldmethod(self, *args,
> **kwargs)
> File
> "/usr/lib/python2.6/site-packages/tables-2.1.2-py2.6-linux-x86_64.egg/table
>s/tests/test_basics.py", line 2202, in test
> self.assert_(common.allequal(node_data, data, new_flavor))
>AssertionError
>
>----------------------------------------------------------------------
>Ran 1 test in 0.007s
>
>FAILED (failures=1)
>
>[sincl...@sv-17-019 ~]$ h5ls
> /usr/lib/python2.6/site-packages/tables-2.1.2-py2.6-linux-x86_64.egg/tables
>/tests/old-flavors.h5 CharArray Dataset {1}
>Float Dataset {SCALAR}
>Int Dataset {SCALAR}
>List Dataset {1}
>NumArray Dataset {1}
>Numeric Dataset {1}
>Object Dataset {1/Inf}
>String Dataset {1}
>Tuple Dataset {1}
>VLString Dataset {1/Inf}
--
Francesc Alted
------------------------------------------------------------------------------
_______________________________________________
Pytables-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytables-users