'If the passphrase callback raises an exception, that exception is raised
by :py:obj:`load_privatekey`.'

def test_load_privatekey_passphrase_exception(self):

    def cb(ignored):
        raise ArithmeticError
    self.assertRaises(ArithmeticError, load_privatekey, FILETYPE_PEM, encryptedPrivateKeyPEM, cb)
