this is my syntax for 
```
assert len(list) == 1
item = list[0]
```