~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_sprout.py

  • Committer: Martin Pool
  • Date: 2009-03-03 03:01:49 UTC
  • mfrom: (4070 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4073.
  • Revision ID: mbp@sourcefrog.net-20090303030149-8p8o8hszdtqa7w8f
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
            # did the right thing.
71
71
            target._ensure_real()
72
72
            target = target._real_branch
 
73
        if isinstance(result_format, remote.RemoteBranchFormat):
 
74
            # Unwrap a parameterised RemoteBranchFormat for comparison.
 
75
            result_format = result_format._custom_format
73
76
        self.assertIs(result_format.__class__, target._format.__class__)
74
77
 
75
78
    def test_sprout_partial(self):