Using try/except is not really ideal (i.e. here the second one never gets executed, a `finally` is missing). Better use:
```
assert_raises(ValueError, a[0].__delitem__, 'x')
```
(or create a small function which does the del instead of using `a[0].__delitem__`)