[Python-checkins] cpython (3.5): Issue #27200: Fix doctests in Doc/library/hashlib.rst

zach.ware python-checkins at python.org
Wed Aug 10 02:06:06 EDT 2016


https://hg.python.org/cpython/rev/f3a04d19e5cb
changeset:   102601:f3a04d19e5cb
branch:      3.5
parent:      102599:6b00ccf5e435
user:        Zachary Ware <zachary.ware at gmail.com>
date:        Wed Aug 10 01:05:19 2016 -0500
summary:
  Issue #27200: Fix doctests in Doc/library/hashlib.rst

files:
  Doc/library/hashlib.rst |  5 +++++
  1 files changed, 5 insertions(+), 0 deletions(-)


diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst
--- 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

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list