'Make sure SlugField honors max_length (#9706)'

def test_slugfield_max_length(self):

    bs = BigS.objects.create(s=('slug' * 50))
    bs = BigS.objects.get(pk=bs.pk)
    self.assertEqual(bs.s, ('slug' * 50))
