summaryrefslogtreecommitdiffstatshomepage
path: root/tests/unix/extra_coverage.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unix/extra_coverage.py')
-rw-r--r--tests/unix/extra_coverage.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/unix/extra_coverage.py b/tests/unix/extra_coverage.py
index 8f330f1da2..72bcc9994a 100644
--- a/tests/unix/extra_coverage.py
+++ b/tests/unix/extra_coverage.py
@@ -5,4 +5,11 @@ except NameError:
import sys
sys.exit()
-extra_coverage()
+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')))