2015-05-08 09:18:38 +01:00
|
|
|
try:
|
|
|
|
extra_coverage
|
|
|
|
except NameError:
|
|
|
|
print("SKIP")
|
|
|
|
import sys
|
|
|
|
sys.exit()
|
|
|
|
|
2016-09-02 06:07:42 +01:00
|
|
|
data = extra_coverage()
|
|
|
|
|
|
|
|
# test hashing of str/bytes that have an invalid hash
|
|
|
|
print(data)
|
|
|
|
print(hash(data[0]))
|
|
|
|
print(hash(data[1]))
|
|
|
|
print(hash(bytes(data[0], 'utf8')))
|
|
|
|
print(hash(str(data[1], 'utf8')))
|