Download hashlib test vectors from pythontest.net

This commit is contained in:
Christian Heimes 2016-09-07 01:21:14 +02:00
parent eaecc692df
commit 59a0464af4

View file

@ -44,7 +44,7 @@ def hexstr(s):
return r
URL = "https://raw.githubusercontent.com/tiran/python_vectors/master/{}.txt"
URL = "http://www.pythontest.net/hashlib/{}.txt"
def read_vectors(hash_name):
with support.open_urlresource(URL.format(hash_name)) as f: