self.assertRaises wasn't a thing in python 2.6 apparently.