~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/TestUtil.py

Stop making zombie testcases for now as it's an extra risk

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
                if stored_count == new_stored_count and notify:
116
116
                    # Testcase didn't fail, but somehow is still alive
117
117
                    FailedCollectionCase(case).run(result)
118
 
                # Zombie the testcase but leave a working stub id method
119
 
                case.__dict__ = {"id": lambda _id=case.id(): _id}
 
118
                # GZ 2011-09-16: Previously zombied the case at this point by
 
119
                #                clearing the dict as fallback, skip for now.
120
120
            stored_count = new_stored_count
121
121
        return result
122
122