'Errors found when rendering 404 error templates are re-raised'

@override_settings(TEMPLATE_DIRS=(os.path.join(os.path.dirname(upath(__file__)), u'bad_templates'),))
def test_bad_404_template(self):

    try:
        response = self.client.get(u'/no_such_view/')
        self.fail(u'Should    get    error    about    syntax    error    in    template')
    except TemplateSyntaxError:
        pass
