From 4199bbaf63bf2d017c9fbd3ee5267fc571516d7f Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Wed, 10 Aug 2016 01:05:19 -0500 Subject: [PATCH] Issue #27200: Fix doctests in Doc/library/hashlib.rst --- Doc/library/hashlib.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 30be3354af7..a2e96caf763 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