Method: pylint.testutils.tokenize_str._tokenize_str
Calls: 43, Exceptions: 0, Paths: 1Back
Path 1: 43 calls (1.0)
'if (foo):' (2) 'if (not (foo)):' (2) 'if foo:' (1) 'if foo():' (1) 'if (x and y) or z:' (1) 'assert foo()' (1) 'assert ()' (1) 'if (1, 2) in (3, 4):'...
list (43)
1def _tokenize_str(code: str) -> list[TokenInfo]:
2 return list(tokenize.generate_tokens(StringIO(code).readline))