'Ensure that setting min_length or max_length to something that is not a
number returns an exception.'

def test_charfield_length_not_int(self):

    self.assertRaises(ValueError, CharField, min_length=u'a')
    self.assertRaises(ValueError, CharField, max_length=u'a')
    self.assertRaises(ValueError, CharField, u'a')
