Fix a simple typo
 - [ ] closes #xxxx
 - [ ] tests added / passed
 - [ ] passes ``git diff upstream/master | flake8 --diff``
 - [ ] whatsnew entry

Insignificant PR, it's just fixing a single typo on an exception.
thanks!