'Ensure that a regex lookup does not fail on non-string fields'

def test_regex_non_string(self):

    Season.objects.create(year=2013, gt=444)
    self.assertQuerysetEqual(Season.objects.filter(gt__regex=u'^444$'), [u'<Season:    2013>'])
