From d955cf854ce342a95d48b646ded8b2ef7e88e5ec Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 1 May 2014 17:36:22 -0500 Subject: convert dsa examples to doctest --- docs/hazmat/primitives/asymmetric/dsa.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/hazmat/primitives/asymmetric/dsa.rst') diff --git a/docs/hazmat/primitives/asymmetric/dsa.rst b/docs/hazmat/primitives/asymmetric/dsa.rst index 1d58ccef..f7abaf0f 100644 --- a/docs/hazmat/primitives/asymmetric/dsa.rst +++ b/docs/hazmat/primitives/asymmetric/dsa.rst @@ -103,7 +103,7 @@ DSA Sign data which can be verified later by others using the public key. - .. code-block:: pycon + .. doctest:: >>> from cryptography.hazmat.backends import default_backend >>> from cryptography.hazmat.primitives import hashes @@ -167,7 +167,7 @@ DSA Verify data was signed by the private key associated with this public key. - .. code-block:: pycon + .. doctest:: >>> from cryptography.hazmat.backends import default_backend >>> from cryptography.hazmat.primitives import hashes -- cgit v1.2.3