mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
pep8: Add compliance with rule E261 to test_template_parser.py.
This commit is contained in:
committed by
Tim Abbott
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):
|
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):
|
||||||
|
|||||||
Reference in New Issue
Block a user