summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/bytearray1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/bytearray1.py')
-rw-r--r--tests/basics/bytearray1.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basics/bytearray1.py b/tests/basics/bytearray1.py
index 76e7e59753..2e47f17bf9 100644
--- a/tests/basics/bytearray1.py
+++ b/tests/basics/bytearray1.py
@@ -27,4 +27,7 @@ print(bytearray([1]) == b"1")
print(b"1" == bytearray([1]))
print(bytearray() == bytearray())
+# comparison with other type should return False
+print(bytearray() == 1)
+
# TODO: other comparisons