diff options
author | Damien George <damien.p.george@gmail.com> | 2016-08-15 10:46:02 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-08-15 10:46:02 +1000 |
commit | 3c82d1d34b6450e73816e206fa5a5d3330a4df48 (patch) | |
tree | ab48bc9b91cfc4f8c2d9d653580b89a0ab294670 /tests/basics/builtin_hash.py | |
parent | 21967990519b3d0778770ddb0994216d012101c3 (diff) |
tests/basics: Add more tuple tests to improve coverage testing.
Diffstat (limited to 'tests/basics/builtin_hash.py')
-rw-r--r-- | tests/basics/builtin_hash.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basics/builtin_hash.py b/tests/basics/builtin_hash.py index c9731a3b5..ffea08e57 100644 --- a/tests/basics/builtin_hash.py +++ b/tests/basics/builtin_hash.py @@ -3,6 +3,7 @@ print(hash(False)) print(hash(True)) print({():1}) # hash tuple +print({(1,):1}) # hash non-empty tuple print({1 << 66:1}) # hash big int print({-(1 << 66):2}) # hash negative big int print(hash in {hash:1}) # hash function |