~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_http.py

Fix pycurl error reporting

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
    def _get_pycurl_maybe(self):
138
138
        try:
139
139
            from bzrlib.transport.http._pycurl import PyCurlTransport
140
 
            self._transport = PyCurlTransport
 
140
            return PyCurlTransport
141
141
        except DependencyNotPresent:
142
142
            raise TestSkipped('pycurl not present')
143
143