diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index c3f917081..8457edad8 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -2008,14 +2008,18 @@ definition_after_normal_text : int def test_token_type_invalid(self): tokens = ( "{1, 2", - "1, 2}", + "}", "'abc", "def'", + '"ghi', + 'jkl"', ) for token in tokens: # TODO: check for the warning _token_type(token) + assert False + def test_tokenize_type_spec(self): types = ( "str",