I shouldn't even bother with creating a testcase class here, it is redundant and imposes some un-pythonic syntax (without sufficient benefit in this case).

```nose.tools.assert_raises```

should be all you need to import.