unittest.FunctionTestCase.assertIsNone

FunctionTestCase.assertIsNone(obj, msg=None)

Same as self.assertTrue(obj is None), with a nicer default message.