aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/conftest.py
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2018-05-10 15:50:17 -0500
committerTrygve Aaberge <trygveaa@gmail.com>2019-04-08 15:11:57 +0200
commit035a28ed1cccbd5c1af18f3260e368ba878b83f4 (patch)
treef8fda7fbf4bc2992a42115ae569af54c7ad29c4c /_pytest/conftest.py
parent8192a34aa967662cf16e36913b3c317f99b707d6 (diff)
downloadwee-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/conftest.py')
0 files changed, 0 insertions, 0 deletions