'Make sure we don\'t allow overly long dates, causing a potential DoS.'

@unittest.skipIf((sys.version_info[:2] >= (3, 0)), 'Unnecessary    test    with    Python    3')
def test_date_length(self):

    user = User.objects.create_user('ima1337h4x0r', 'test4@example.com', 'p4ssw0rd')
    p0 = PasswordResetTokenGenerator()
    self.assertRaises(ValueError, p0._make_token_with_timestamp, user, 175455491841851871349L)
