/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

Viewing changes to breezy/tests/https_server.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-24 01:39:33 UTC
  • mfrom: (3815.3776.6)
  • Revision ID: jelmer@jelmer.uk-20170524013933-ir4y4tqtrsiz2ka2
New upstream snapshot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
import ssl
20
20
import sys
21
21
 
22
 
from bzrlib.tests import (
 
22
from . import (
23
23
    http_server,
24
24
    ssl_certs,
25
25
    test_server,
51
51
        if serving:
52
52
            try:
53
53
                request.do_handshake()
54
 
            except ssl.SSLError, e:
 
54
            except ssl.SSLError as e:
55
55
                # FIXME: We proabaly want more tests to capture which ssl
56
56
                # errors are worth reporting but mostly our tests want an https
57
57
                # server that works -- vila 2012-01-19