diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-04-17 16:02:19 -0400 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2014-04-17 16:02:19 -0400 |
commit | 3dfd45111b4e6cba89908626ab18e73506a35462 (patch) | |
tree | 520e157862b711cd4fcb44b33712f3579bf2049b | |
parent | b41d1f448cd44753387f3145a34cc6533e92835b (diff) | |
download | pyopenssl-3dfd45111b4e6cba89908626ab18e73506a35462.tar.gz |
Some docstring cleanups.
-rw-r--r-- | OpenSSL/test/test_ssl.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/OpenSSL/test/test_ssl.py b/OpenSSL/test/test_ssl.py index b4f81b4..d2fb3a4 100644 --- a/OpenSSL/test/test_ssl.py +++ b/OpenSSL/test/test_ssl.py @@ -1178,8 +1178,8 @@ class ContextTests(TestCase, _LoopbackMixin): def test_set_tmp_ecdh_curve(self): """ - :py:obj:`Context.set_tmp_ecdh_curve` sets the elliptic - curve for Diffie-Hellman to the specified named curve. + :py:obj:`Context.set_tmp_ecdh_curve` sets the elliptic curve for + Diffie-Hellman to the specified named curve. """ context = Context(TLSv1_METHOD) for curve in ELLIPTIC_CURVE_DESCRIPTIONS.keys(): @@ -1205,10 +1205,9 @@ class ContextTests(TestCase, _LoopbackMixin): def test_set_tmp_ecdh_curve_bad_sn(self): """ - :py:obj:`Context.set_tmp_ecdh_curve` raises - :py:obj:`UnknownObject` if passed a curve_name that OpenSSL - does not recognize and EC is available. It raises - :py:obj:`ECNotAvailable` if EC is not available at all. + :py:obj:`Context.set_tmp_ecdh_curve` raises :py:obj:`UnknownObject` if + passed a curve_name that OpenSSL does not recognize and EC is + available. """ context = Context(TLSv1_METHOD) try: @@ -1224,8 +1223,8 @@ class ContextTests(TestCase, _LoopbackMixin): def test_set_tmp_ecdh_curve_not_a_curve(self): """ :py:obj:`Context.set_tmp_ecdh_curve` raises - :py:obj:`UnsupportedEllipticCurve` if passed a curve_name that - OpenSSL cannot instantiate as an elliptic curve. It raises + :py:obj:`UnsupportedEllipticCurve` if passed a curve_name that OpenSSL + cannot instantiate as an elliptic curve. It raises :py:obj:`ECNotAvailable` if EC is not available at all. """ context = Context(TLSv1_METHOD) |