Ticket #5700 defect closed fixed
twisted.conch.test.test_transport.SSHCiphersTestCase.test_getCipher() fails with pycrypto 2.6
Description
twisted.conch.test.test_transport.SSHCiphersTestCase.test_getCipher() fails with pycrypto 2.6 and passes with pycrypto 2.5. I use Twisted 12.1.0.
===============================================================================
[FAIL]
Traceback (most recent call last):
File "/var/tmp/portage/dev-python/twisted-conch-12.1.0-r1000/temp/usr/lib64/python2.7/site-packages/twisted/conch/test/test_transport.py", line 1832, in test_getCipher
self.assertTrue(str(cip).startswith('<' + modName))
twisted.trial.unittest.FailTest: None
twisted.conch.test.test_transport.SSHCiphersTestCase.test_getCipher
-------------------------------------------------------------------------------
If I add print((cipName, cip, modName)) in the loop in this test, then I see:
('cast128-ctr', <Crypto.Cipher.CAST.CAST128Cipher instance at 0x2f50680>, 'CAST')
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

