From: Zachary Ware Date: Wed, 10 Aug 2016 06:05:19 +0000 (-0500) Subject: Issue #27200: Fix doctests in Doc/library/hashlib.rst X-Git-Tag: v3.6.0a4~35^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4199bbaf63bf2d017c9fbd3ee5267fc571516d7f;p=python Issue #27200: Fix doctests in Doc/library/hashlib.rst --- diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 30be3354af..a2e96caf76 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -13,6 +13,11 @@ single: message digest, MD5 single: secure hash algorithm, SHA1, SHA224, SHA256, SHA384, SHA512 +.. testsetup:: + + import hashlib + + -------------- This module implements a common interface to many different secure hash and