diff options
author | Samuel Holland <samuel@sholland.org> | 2018-05-10 15:50:17 -0500 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-04-08 15:11:57 +0200 |
commit | 035a28ed1cccbd5c1af18f3260e368ba878b83f4 (patch) | |
tree | f8fda7fbf4bc2992a42115ae569af54c7ad29c4c /_pytest | |
parent | 8192a34aa967662cf16e36913b3c317f99b707d6 (diff) | |
download | wee-slack-035a28ed1cccbd5c1af18f3260e368ba878b83f4.tar.gz |
Make SHA1 hashing work on both Python 2 and 3
Use sha1 from the hashlib module, and factor out a helper function that
makes sure the argument to sha1 is a bytestring.
Diffstat (limited to '_pytest')
0 files changed, 0 insertions, 0 deletions