mirror of https://github.com/zulip/zulip.git
pep8: Add compliance with rule E261 to test_template_parser.py.
This commit is contained in:
parent
9fb6d976ca
commit
f4a7791d95
|
@ -28,7 +28,7 @@ class ParserTest(unittest.TestCase):
|
|||
|
||||
def _assert_validate_error(self, error, fn=None, text=None, check_indent=True):
|
||||
# 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)
|
||||
|
||||
def test_is_django_block_tag(self):
|
||||
|
|
Loading…
Reference in New Issue