Opened 8 years ago

Closed 4 years ago

#5804 defect closed fixed (fixed)

test_old_publickey_getPrivateKey failing with Python -3 flag

Reported by: Thijs Triemstra Owned by:
Priority: low Milestone: Python-3.x
Component: conch Keywords:
Cc: Thijs Triemstra, z3p Branch:
Author:

Description

As seen on the py3k-warnings buildslave:

[FAIL]
Traceback (most recent call last):
  File "/var/lib/buildbot/buildarea/python-3k-warnings/Twisted/twisted/conch/test/test_userauth.py", line 846, in test_old_publickey_getPrivateKey
    oldAuth.signData, None, 'data')
  File "/var/lib/buildbot/buildarea/python-3k-warnings/Twisted/twisted/trial/unittest.py", line 457, in failUnlessWarns
    self.fail("Can't handle different warnings")
twisted.trial.unittest.FailTest: Can't handle different warnings

twisted.conch.test.test_userauth.SSHUserAuthClientTestCase.test_old_publickey_getPrivateKey
-------------------------------------------------------------------------------

produced with python2.7 -3 ./bin/trial --reporter=bwverbose --unclean-warnings twisted

Change History (3)

comment:1 Changed 8 years ago by DefaultCC Plugin

Cc: z3p added

comment:2 Changed 8 years ago by Thijs Triemstra

Priority: normallow

Looks like it's testing deprecated functionality in SSHUserAuthClient.getPublicKey() (since 9.0) so getting rid of this code instead of fixing the test seems more appropriate to me.

comment:3 Changed 4 years ago by Craig Rodrigues

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.