mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
Finish annotating template/css parsers and tests.
This commit is contained in:
@@ -119,9 +119,8 @@ class ParserTestSadPath(unittest.TestCase):
|
||||
'''
|
||||
|
||||
def _assert_error(self, my_css, error):
|
||||
# See https://github.com/python/typeshed/issues/372
|
||||
# for why we have to ingore types here.
|
||||
with self.assertRaisesRegexp(CssParserException, error): # type: ignore
|
||||
# type: (str, str) -> None
|
||||
with self.assertRaisesRegexp(CssParserException, error): # type: ignore # See https://github.com/python/typeshed/issues/372
|
||||
parse(my_css)
|
||||
|
||||
def test_unexpected_end_brace(self):
|
||||
|
||||
Reference in New Issue
Block a user