summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/class_notimpl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/class_notimpl.py')
-rw-r--r--tests/basics/class_notimpl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/class_notimpl.py b/tests/basics/class_notimpl.py
index 308075f92f..58e790716b 100644
--- a/tests/basics/class_notimpl.py
+++ b/tests/basics/class_notimpl.py
@@ -48,3 +48,6 @@ except TypeError:
# NotImplemented isn't handled specially in unary methods
print(-c)
+
+# Test that NotImplemented can be hashed
+print(type(hash(NotImplemented)))