Finish annotating template/css parsers and tests.

This commit is contained in:
Tim Abbott
2016-09-12 09:03:37 -07:00
parent e580ed579b
commit 1eb16d03a2
3 changed files with 8 additions and 7 deletions

View File

@@ -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):