def assertRedirects(self, response, expected_url, **kwargs):
        """
        Wrapper for assertRedirects to handle Django pre-1.9.
        """
        if (1, 9) >= VERSION and expected_url.startswith('http://testserver'):
            expected_url = expected_url[len('http://testserver'):]
        return super(CommentTestCase, self).assertRedirects(
            response, expected_url, **kwargs)
dataset/ETHPy150Open django/django-contrib-comments/tests/testapp/tests/__init__.py/CommentTestCase.assertRedirects/swapped operands of `>=`