[IPython-dev] [Pytables-users] Failing tests with 2.0rc1

Brian Granger ellisonbg.net@gmail....
Thu Apr 26 10:28:43 CDT 2007


Hi all,

Also forwarding this to ipython-dev.

I reran the pytables test suite under regular python (not IPython) and
all tests pass!

For the IPython devs, the issue is that the pytables tests suite
(which uses doctest) fails under ipython, but passes under regular
python.

I think Robert Kern's thoughts about what is going on is probably correct:

http://mail.python.org/pipermail/python-list/2006-April/377902.html

I will bring this up at the ipython sprint this weekend.

Cheers,

Brian



Python 2.5 (r25:51908, Apr 25 2007, 10:16:50)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Running .pythonstartup
>>> import tables
>>> 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 )
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 2082 tests in 58.316s

OK

On 4/26/07, Francesc Altet <faltet@carabos.com> wrote:
> A Dimecres 25 Abril 2007 23:32, Joshua J. Kugler escrigué:
> > 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?
>
> Create temporaries in /var/lib/python2.4?  That's bizarre because the PyTables
> suite uses the tempfile.mktemp() call in order to create temporaries. I've
> double checked that the PyTables suite runs flawlesly even when installed as
> root and run as a non-privileged user.  Out of curiosity, which is your
> output for:
>
> In [5]: tempfile.mktemp(".h5")
> Out[5]: '/tmp/tmph-LUxH.h5'
>
> ?
>
> The tests that fails may be due to an old version of HDF5. Can you update to
> at least 1.6.5 and run again?
>
> > I also get many more erors when I run the tests under IPython.
>
> We are looking into that...
>
> Cheers,
>
> --
> >0,0<   Francesc Altet http://www.carabos.com/
> V   V   Cárabos Coop. V. Enjoy Data
>  "-"
>
> -------------------------------------------------------------------------
> 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
>


More information about the IPython-dev mailing list