pep8: Add compliance with rule E261 to test_template_parser.py.

This commit is contained in:
Aditya Bansal
2017-05-08 01:06:34 +05:30
committed by Tim Abbott
parent 9fb6d976ca
commit f4a7791d95

View File

@@ -28,7 +28,7 @@ class ParserTest(unittest.TestCase):
def _assert_validate_error(self, error, fn=None, text=None, check_indent=True): def _assert_validate_error(self, error, fn=None, text=None, check_indent=True):
# type: (str, Optional[str], Optional[str], bool) -> None # type: (str, Optional[str], Optional[str], bool) -> None
with self.assertRaisesRegex(TemplateParserException, error): # type: ignore # See https://github.com/python/typeshed/issues/372 with self.assertRaisesRegex(TemplateParserException, error): # type: ignore # See https://github.com/python/typeshed/issues/372
validate(fn=fn, text=text, check_indent=check_indent) validate(fn=fn, text=text, check_indent=check_indent)
def test_is_django_block_tag(self): def test_is_django_block_tag(self):