def test_set_tmp_ecdh(self):
    '\n        `Context.set_tmp_ecdh` sets the elliptic curve for Diffie-Hellman to\n        the specified curve.\n        '
    context = Context(TLSv1_METHOD)
    for curve in get_elliptic_curves():
        if curve.name.startswith(u'Oakley-'):
            continue
        context.set_tmp_ecdh(curve)
`Context.set_tmp_ecdh` sets the elliptic curve for Diffie-Hellman to
the specified curve.
def test_set_tmp_ecdh(self):
    '\n        `Context.set_tmp_ecdh` sets the elliptic curve for Diffie-Hellman to\n        the specified curve.\n        '
    context = Context(TLSv1_METHOD)
    for curve in get_elliptic_curves():
        if curve.name.startswith(u'Oakley-'):
            continue
        context.set_tmp_ecdh(curve)