last pluck of pytest dependency for anything beyond running tests

must admit. the syntax is hideous.... but unittest doesn't have context managers in 2.6 :(

otherwise we could have done

```python
with self.assertRaises(Exception):
    this_blows_up()
```