~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_clean_tree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-06-01 13:43:12 UTC
  • mfrom: (5951 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5952.
  • Revision ID: jelmer@samba.org-20110601134312-nor5sp8eeassrzeo
Merge bzr.dev.

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