Skip to content

Instantly share code, notes, and snippets.

@lprsd
Created January 17, 2010 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lprsd/279387 to your computer and use it in GitHub Desktop.
Save lprsd/279387 to your computer and use it in GitHub Desktop.
................................................................................S..............F.F..
======================================================================
FAIL: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/home/ub/Downloads/ipython-0.11.bzr.r1340-py2.6.egg_FILES/IPython/testing/decorators.py", line 225, in skipper_func
return f(*args, **kwargs)
File "/home/ub/Downloads/ipython-0.11.bzr.r1340-py2.6.egg_FILES/IPython/core/tests/test_run.py", line 160, in test_obj_del
tt.ipexec_validate(self.fname, 'object A deleted')
File "/home/ub/Downloads/ipython-0.11.bzr.r1340-py2.6.egg_FILES/IPython/testing/tools.py", line 290, in ipexec_validate
nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '' != 'object A deleted'
>> raise self.failureException, \
(None or '%r != %r' % ('', 'object A deleted'))
======================================================================
FAIL: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/nose/case.py", line 183, in runTest
self.test(*self.arg)
File "/home/ub/Downloads/ipython-0.11.bzr.r1340-py2.6.egg_FILES/IPython/testing/decorators.py", line 225, in skipper_func
return f(*args, **kwargs)
File "/home/ub/Downloads/ipython-0.11.bzr.r1340-py2.6.egg_FILES/IPython/core/tests/test_run.py", line 174, in test_tclass
tt.ipexec_validate(self.fname, out)
File "/home/ub/Downloads/ipython-0.11.bzr.r1340-py2.6.egg_FILES/IPython/testing/tools.py", line 290, in ipexec_validate
nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '' != "ARGV 1-: ['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"
>> raise self.failureException, \
(None or '%r != %r' % ('', "ARGV 1-: ['C-first']\nARGV 1-: ['C-second']\ntclass.py: deleting object: C-first"))
----------------------------------------------------------------------
Ran 103 tests in 0.297s
FAILED (SKIP=1, failures=2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment