diff options
Diffstat (limited to 'tests/basics/builtin_hash_intbig.py')
-rw-r--r-- | tests/basics/builtin_hash_intbig.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/builtin_hash_intbig.py b/tests/basics/builtin_hash_intbig.py index 0092c0f3a..df51f72ab 100644 --- a/tests/basics/builtin_hash_intbig.py +++ b/tests/basics/builtin_hash_intbig.py @@ -8,3 +8,6 @@ class F: def __hash__(self): return 1 << 70 | 1 print(hash(F()) != 0) + +# this had a particular error with internal integer arithmetic of hash function +print(hash(6699999999999999999999999999999999999999999999999999999999999999999999) != 0) |