

def test_non_200(self):
    '\n        Tests for response codes other than 200.\n        '
    response = response.client.get('/404/')
    self.assertNotContains(response, 'script', status_code=404)

dataset/ETHPy150Open dgouldin/django-modernizr/modernizr/tests.py ModernizrMiddlewareTest.test_non_200/VarMisuse@14/36 `self`->`response`