':py:obj:`load_privatekey` raises :py:obj:`ValueError` if the passphrase
callback returns something other than a byte string.'

def test_load_privatekey_passphrase_wrong_return_type(self):

    self.assertRaises(ValueError, load_privatekey, FILETYPE_PEM, encryptedPrivateKeyPEM, (lambda *args: 3))
