test_cleanUp_raise_first_false_callscleanups_returns_exceptions fails on traceback assertion

Bug #796249 reported by Gavin Panella
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Python Fixtures
Fix Released
Critical
Gavin Panella

Bug Description

======================================================================
FAIL: fixtures.tests.test_fixture.TestFixture.test_cleanUp_raise_first_false_callscleanups_returns_exceptions
----------------------------------------------------------------------
Text attachment: traceback
------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/testtools/runtest.py", line 169, in _run_user
    return fn(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 499, in _run_test_method
    return self._get_test_method()()
  File "/home/gavin/Launchpad/python-fixtures/traceback-cleared/lib/fixtures/tests/test_fixture.py", line 76, in test_cleanUp_raise_first_false_callscleanups_returns_exceptions
    self.assertIsInstance(tb, sys.exc_info()[2].__class__)
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 307, in assertIsInstance
    self.assertTrue(isinstance(obj, klass), msg)
AssertionError: <traceback object at 0x175a8c0> is not an instance of NoneType
------------

Related branches

Gavin Panella (allenap)
Changed in python-fixtures:
assignee: nobody → Gavin Panella (allenap)
status: New → In Progress
Changed in python-fixtures:
importance: Undecided → Critical
status: In Progress → Fix Committed
Changed in python-fixtures:
milestone: none → next
Changed in python-fixtures:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.