diff options
author | Damien George <damien.p.george@gmail.com> | 2016-08-15 10:46:35 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-08-15 10:46:35 +1000 |
commit | d5f42c9daf12f11b2a7a2db17409331b6f2a484e (patch) | |
tree | c2f57591e75e86918ad85e8d046d35ee0aaaeb1f /tests/basics/list1.py | |
parent | 3c82d1d34b6450e73816e206fa5a5d3330a4df48 (diff) |
tests/basics: Add more list tests to improve coverage testing.
Diffstat (limited to 'tests/basics/list1.py')
-rw-r--r-- | tests/basics/list1.py | 6 |
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') |