/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/per_controldir/test_controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-22 00:56:52 UTC
  • mfrom: (6621.2.26 py3_pokes)
  • Revision ID: jelmer@jelmer.uk-20170522005652-yjahcr9hwmjkno7n
Merge Python3 porting work ('py3 pokes')

Show diffs side-by-side

added added

removed removed

Lines of Context:
1710
1710
        config = my_dir.get_config()
1711
1711
        try:
1712
1712
            config.set_default_stack_on('http://example.com')
1713
 
        except errors.BzrError, e:
 
1713
        except errors.BzrError as e:
1714
1714
            if 'Cannot set config' in str(e):
1715
1715
                self.assertFalse(
1716
1716
                    isinstance(my_dir, (_mod_bzrdir.BzrDirMeta1, RemoteBzrDir)),