Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r90712:2adedf0af060
Date: 2017-03-15 19:44 +0100
http://bitbucket.org/pypy/pypy/changeset/2adedf0af060/

Log:    document that we're expecting a positive value here

diff --git a/rpython/rlib/test/test_rsiphash.py 
b/rpython/rlib/test/test_rsiphash.py
--- a/rpython/rlib/test/test_rsiphash.py
+++ b/rpython/rlib/test/test_rsiphash.py
@@ -52,12 +52,12 @@
         os.environ['PYTHONHASHSEED'] = '0'
         initialize_from_env()
         assert siphash24("foo") == 15988776847138518036
-        # value checked with CPython 3.5
+        # value checked with CPython 3.5 (turned positive by adding 2**64)
 
         os.environ['PYTHONHASHSEED'] = '4000000000'
         initialize_from_env()
         assert siphash24("foo") == 13829150778707464258
-        # value checked with CPython 3.5
+        # value checked with CPython 3.5 (turned positive by adding 2**64)
 
         for env in ['', 'random']:
             os.environ['PYTHONHASHSEED'] = env
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to