':py:obj:`load_privatekey` raises :py:obj:`TypeError` if passed a passphrase that is
neither a :py:obj:`str` nor a callable.'

def test_load_privatekey_invalid_passphrase_type(self):

    self.assertRaises(TypeError, load_privatekey, FILETYPE_PEM, encryptedPrivateKeyPEMPassphrase, object())
