/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/test_errors.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:
21
21
import socket
22
22
import sys
23
23
 
24
 
from breezy import (
 
24
from .. import (
25
25
    controldir,
26
26
    errors,
27
27
    osutils,
28
28
    urlutils,
29
29
    )
30
 
from breezy.tests import (
 
30
from . import (
31
31
    TestCase,
32
32
    TestCaseWithTransport,
33
33
    TestSkipped,
356
356
        # perhaps no more is needed.)
357
357
        try:
358
358
            raise errors.BzrError('this is my errors; %d is not expanded')
359
 
        except errors.BzrError, e:
 
359
        except errors.BzrError as e:
360
360
            self.assertEqual('this is my errors; %d is not expanded', str(e))
361
361
 
362
362
    def test_reading_completed(self):