'Test an error with assertIsInstance.'

def test_assertIsInstanceError(self):

    A = type('A', (object,), {})
    B = type('B', (object,), {})
    a = A()
    self.assertRaises(self.failureException, self.assertIsInstance, a, B)
