tests: Fix typing

This commit is contained in:
James Westman 2025-04-19 13:27:20 -05:00
parent f50b898e4c
commit 6a77bfee0a
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6

View file

@ -25,7 +25,7 @@ from blueprintcompiler.tokenizer import Token, TokenType, tokenize
class TestTokenizer(unittest.TestCase):
def assert_tokenize(self, string: str, expect: [Token]):
def assert_tokenize(self, string: str, expect: list[Token]):
try:
tokens = tokenize(string)
self.assertEqual(len(tokens), len(expect))