TST: use assert_raises decorator while travis checks the PR...