twisted.protocols.test.test_tls fails when SSL is not available

[email protected]
Newsgroups gmane.comp.python.twisted.bugs
Message-ID <[email protected]>
New submission from azverkan <None>:

This test failure was encountered with win32 Python 2.6

[ERROR]: twisted.protocols.test.test_tls

Traceback (most recent call last):
  File "c:\work\twisted\twisted\trial\runner.py", line 640, in loadByNames
    things.append(self.findByName(name))
  File "c:\work\twisted\twisted\trial\runner.py", line 450, in findByName
    return reflect.namedAny(name)
  File "c:\work\twisted\twisted\python\reflect.py", line 462, in namedAny
    topLevelPackage = _importAndCheckStack(trialname)
  File "c:\work\twisted\twisted\protocols\test\test_tls.py", line 24, in <module>
    from twisted.internet.ssl import ClientContextFactory, PrivateCertificate
  File "c:\work\twisted\twisted\internet\ssl.py", line 46, in <module>
    from OpenSSL import SSL
exceptions.ImportError: No module named OpenSSL

----------
Type     : defect
Component: core
Keywords : 
Priority : normal
Nosy     : 
----------
http://twistedmatrix.com/trac/ticket/3852
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.