Ah okay- note that the following will both work:

```python
with self.assertRaises(ValueError):
    ...

with npt.assert_raises(ValueError):
    ...
```

Definitely agree that using a context manager for these sorts of tests is the way to go.