[IPython-dev] testing ipython install on current trunk : report

Johann Cohen-Tanugi cohen at lpta.in2p3.fr
Tue Mar 9 06:30:29 EST 2010


Hi there, I had to upgrade my laptop to Fedora 12, lost a few nights 
sleep, and am slowly recovering my previous working environment... I 
just took the current head of ipython and installed it in 
/home/cohen/.local (aside note : while 'setup.py install' accepts --user 
as option, but 'python setupegg.py develop' does not, which is a bit 
unfortunate).

I ran iptest and got:

Ran 374 tests in 44.044s

PASSED (successes=374)

**********************************************************************
Test suite completed for system with the following information:
IPython version: 0.11.alpha1.bzr.r1223
BZR revision   : 1223
Platform info  : os.name -> posix, sys.platform -> linux2
                : 
Linux-2.6.32.9-67.fc12.i686-i686-with-fedora-12-Omega_12.1_Fedora_Remix
Python info    : 2.6.2 (r262:71600, Jan 25 2010, 18:46:45)
[GCC 4.4.2 20091222 (Red Hat 4.4.2-20)]

Tools and libraries available at test time:
    curses foolscap gobject gtk pexpect twisted wx wx.aui zope.interface

Tools and libraries NOT available at test time:
    objc

Ran 10 test groups in 56.775s

Status:
ERROR - 2 out of 10 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
/usr/bin/python 
/home/cohen/sources/python/ipython/IPython/testing/iptest.py IPython.core

----------------------------------------
Runner failed: IPython.extensions
You may wish to rerun this one individually, with:
/usr/bin/python 
/home/cohen/sources/python/ipython/IPython/testing/iptest.py 
IPython.extensions

[cohen at jarrett python]$ /usr/bin/python 
/home/cohen/sources/python/ipython/IPython/testing/iptest.py IPython.core
................................................................................S..............F.F..
======================================================================
FAIL: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/nose/case.py", line 182, in 
runTest
     self.test(*self.arg)
   File 
"/home/cohen/sources/python/ipython/IPython/testing/decorators.py", line 
225, in skipper_func
     return f(*args, **kwargs)
   File 
"/home/cohen/sources/python/ipython/IPython/core/tests/test_run.py", 
line 155, in test_obj_del
     tt.ipexec_validate(self.fname, 'object A deleted')
   File "/home/cohen/sources/python/ipython/IPython/testing/tools.py", 
line 252, in ipexec_validate
     nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hobject A deleted' != 'object A deleted'
 >>  raise self.failureException, \
           (None or '%r != %r' % ('\x1b[?1034hobject A deleted', 'object 
A deleted'))


======================================================================
FAIL: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/nose/case.py", line 182, in 
runTest
     self.test(*self.arg)
   File 
"/home/cohen/sources/python/ipython/IPython/testing/decorators.py", line 
225, in skipper_func
     return f(*args, **kwargs)
   File 
"/home/cohen/sources/python/ipython/IPython/core/tests/test_run.py", 
line 169, in test_tclass
     tt.ipexec_validate(self.fname, out)
   File "/home/cohen/sources/python/ipython/IPython/testing/tools.py", 
line 252, in ipexec_validate
     nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: "\x1b[?1034hARGV 1-: ['C-first']\nARGV 1-: 
['C-second']\ntclass.py: deleting object: C-first" != "ARGV 1-: 
['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"
 >>  raise self.failureException, \
           (None or '%r != %r' % ("\x1b[?1034hARGV 1-: ['C-first']\nARGV 
1-: ['C-second']\ntclass.py: deleting object: C-first", "ARGV 1-: 
['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"))


----------------------------------------------------------------------
Ran 102 tests in 1.086s

FAILED (SKIP=1, failures=2)
[cohen at jarrett python]$ /usr/bin/python 
/home/cohen/sources/python/ipython/IPython/testing/iptest.py 
IPython.extensions
..F.
======================================================================
FAIL: 
IPython.extensions.tests.test_pretty.TestPrettyInteractively.test_printers
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/nose/case.py", line 182, in 
runTest
     self.test(*self.arg)
   File 
"/home/cohen/sources/python/ipython/IPython/testing/decorators.py", line 
225, in skipper_func
     return f(*args, **kwargs)
   File 
"/home/cohen/sources/python/ipython/IPython/extensions/tests/test_pretty.py", 
line 101, in test_printers
     tt.ipexec_validate(self.fname, ipy_out)
   File "/home/cohen/sources/python/ipython/IPython/testing/tools.py", 
line 252, in ipexec_validate
     nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hA()\nB()\n<A>\n<B>' != 'A()\nB()\n<A>\n<B>'
 >>  raise self.failureException, \
           (None or '%r != %r' % ('\x1b[?1034hA()\nB()\n<A>\n<B>', 
'A()\nB()\n<A>\n<B>'))


----------------------------------------------------------------------
Ran 4 tests in 0.423s

FAILED (failures=1)


All this does not look horrendously catastrophic, but it may be useful 
to report it, so here it is! :)

cheers,
Johann



More information about the IPython-dev mailing list