diff options
author | 2017-03-15 19:44:34 +0100 | |
---|---|---|
committer | 2017-03-15 19:44:34 +0100 | |
commit | 1ef1a54496caaac4f8e4c3e46bb765f71a465348 (patch) | |
tree | 4931c2d74191535e3a0b9d7f299a602a41efff07 | |
parent | Un-export a few meaningless symbols from libpypy-c.so (diff) | |
download | pypy-1ef1a54496caaac4f8e4c3e46bb765f71a465348.tar.gz pypy-1ef1a54496caaac4f8e4c3e46bb765f71a465348.tar.bz2 pypy-1ef1a54496caaac4f8e4c3e46bb765f71a465348.zip |
document that we're expecting a positive value here
-rw-r--r-- | rpython/rlib/test/test_rsiphash.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rpython/rlib/test/test_rsiphash.py b/rpython/rlib/test/test_rsiphash.py index a93e2a9608..57113dbfcb 100644 --- a/rpython/rlib/test/test_rsiphash.py +++ b/rpython/rlib/test/test_rsiphash.py @@ -52,12 +52,12 @@ def test_fix_seed(): 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 |