~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir_colo/test_unsupported.py

  • Committer: Jelmer Vernooij
  • Date: 2011-10-04 14:08:14 UTC
  • mfrom: (6187 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6189.
  • Revision ID: jelmer@samba.org-20111004140814-cltag93d2l5j9zyf
MergeĀ lp:bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
            # they may not be initializable.
40
40
            raise tests.TestNotApplicable('Control dir format not supported')
41
41
        t = self.get_transport()
42
 
        made_control = self.bzrdir_format.initialize(t.base)
 
42
        try:
 
43
            made_control = self.bzrdir_format.initialize(t.base)
 
44
        except errors.UninitializableFormat:
 
45
            raise tests.TestNotApplicable('Control dir format not initializable')
43
46
        made_repo = made_control.create_repository()
44
47
        return made_control
45
48