Author: Armin Rigo <[email protected]>
Branch: rpython-hash
Changeset: r89834:6bc7be33e2c1
Date: 2017-01-30 16:06 +0100
http://bitbucket.org/pypy/pypy/changeset/6bc7be33e2c1/
Log: fix comments
diff --git a/rpython/translator/c/test/test_boehm.py
b/rpython/translator/c/test/test_boehm.py
--- a/rpython/translator/c/test/test_boehm.py
+++ b/rpython/translator/c/test/test_boehm.py
@@ -392,7 +392,7 @@
assert res[2] != compute_hash(c) # likely
assert res[3] != compute_hash(d) # likely *not* preserved
assert res[4] == compute_hash(("Hi", None, (7.5, 2)))
- # ^^ true as long as we're using the 'rpython' hash for strings
+ # ^^ true as long as we're using the default 'fnv' hash for strings
# and not e.g. siphash24
def test_finalizer_queue(self):
diff --git a/rpython/translator/c/test/test_typed.py
b/rpython/translator/c/test/test_typed.py
--- a/rpython/translator/c/test/test_typed.py
+++ b/rpython/translator/c/test/test_typed.py
@@ -600,7 +600,7 @@
assert res[2] != compute_hash(c) # likely
assert res[3] != compute_hash(d) # likely *not* preserved
assert res[4] == compute_hash(("Hi", None, (7.5, 2)))
- # ^^ true as long as we're using the 'rpython' hash for strings
+ # ^^ true as long as we're using the default 'fnv' hash for strings
# and not e.g. siphash24
def _test_hash_string(self, algo):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit