summaryrefslogtreecommitdiff
path: root/tests/basics/list1.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-08-15 10:46:35 +1000
committerDamien George <damien.p.george@gmail.com>2016-08-15 10:46:35 +1000
commitd5f42c9daf12f11b2a7a2db17409331b6f2a484e (patch)
treec2f57591e75e86918ad85e8d046d35ee0aaaeb1f /tests/basics/list1.py
parent3c82d1d34b6450e73816e206fa5a5d3330a4df48 (diff)
tests/basics: Add more list tests to improve coverage testing.
Diffstat (limited to 'tests/basics/list1.py')
-rw-r--r--tests/basics/list1.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/basics/list1.py b/tests/basics/list1.py
index c8317baa3..fa426c0e5 100644
--- a/tests/basics/list1.py
+++ b/tests/basics/list1.py
@@ -22,3 +22,9 @@ print(x)
print(x[1:])
print(x[:-1])
print(x[2:3])
+
+# unsupported type on RHS of add
+try:
+ [] + None
+except TypeError:
+ print('TypeError')