~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/__init__.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-06 11:59:19 UTC
  • mfrom: (4084.2.5 rob-integration)
  • mto: This revision was merged to the branch mainline in revision 4087.
  • Revision ID: andrew.bennetts@canonical.com-20090306115919-drjjvxe9cn2iu7jp
Merge Branch.get_tags_dict RPC from Robert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
776
776
        TestCase._active_threads = threading.activeCount()
777
777
        self.addCleanup(self._check_leaked_threads)
778
778
 
 
779
    def debug(self):
 
780
        # debug a frame up.
 
781
        import pdb
 
782
        pdb.Pdb().set_trace(sys._getframe().f_back)
 
783
 
779
784
    def exc_info(self):
780
785
        absent_attr = object()
781
786
        exc_info = getattr(self, '_exc_info', absent_attr)