~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_tree.py

  • Committer: Aaron Bentley
  • Date: 2006-08-22 16:14:17 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: abentley@panoramicfeedback.com-20060822161417-29c1eb4790285db9
Back out inter.get changes, make optimizers an ordered list

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        """This test tests the way Tree.compare() uses InterTree."""
80
80
        old_optimisers = InterTree._optimisers
81
81
        try:
82
 
            InterTree._optimisers = set()
 
82
            InterTree._optimisers = []
83
83
            RecordingOptimiser.calls = []
84
84
            InterTree.register_optimiser(RecordingOptimiser)
85
85
            tree = self.make_branch_and_tree('1')