summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/frozenset1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/frozenset1.py')
-rw-r--r--tests/basics/frozenset1.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/frozenset1.py b/tests/basics/frozenset1.py
index 00694581f0..7a4a335401 100644
--- a/tests/basics/frozenset1.py
+++ b/tests/basics/frozenset1.py
@@ -15,3 +15,6 @@ print(s)
s = frozenset({3, 4, 3, 1})
print(sorted(s))
+
+# frozensets are hashable unlike sets
+print({frozenset("1"): 2})