This is raising a deprecation warning in nose 1.3.0 which numpy testing turns into an exception. Try `self.assertRaisesRegexp` instead.