I find that using `assertRaises` is a lot clearer when it's used as a context manager, like this:

```python
with self.assertRaises(InvalidVersionError):
    draft_store.create_and_save_xmodule(location)
```
That way, the function call that you're testing is a lot clearer.