'Tests non-standard input for constraints.'

def test_constraint_error(self):

    with self.assertRaises(Exception) as cm:
        Problem(Maximize(self.a), self.a)
    self.assertEqual(str(cm.exception), 'Problem    constraints    must    be    a    list.')
