~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_clean_tree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-20 11:07:31 UTC
  • mfrom: (5340.12.29 2.4-613247-test-cases)
  • Revision ID: pqm@pqm.ubuntu.com-20110520110731-8slefcqat6dr3asl
(jameinel) Bug #613247,
 clean up a bunch of test cases to avoid putting 'self' in the reference
 cycle. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
98
98
        def _dummy_rmtree(path, ignore_errors=False, onerror=None):
99
99
            """Call user supplied error handler onerror.
100
100
            """
101
 
            self.assertTrue(isinstance(onerror, types.FunctionType))
102
101
            # Indicate failure in removing 'path' if path is subdir0
103
102
            # We later check to ensure that this is indicated
104
103
            # to the user as a warning. We raise OSError to construct