diff --git a/test/test_crc32c.py b/test/test_crc32c.py index 95c529f..03eb024 100644 --- a/test/test_crc32c.py +++ b/test/test_crc32c.py @@ -24,7 +24,7 @@ import struct import unittest import warnings -from typing import Any, Generator, NamedTuple +from typing import Any, Generator, NamedTuple, List import pytest @@ -114,7 +114,7 @@ class CRCTestValue(NamedTuple): crc: int -test_values: list[CRCTestValue] = [ +test_values: List[CRCTestValue] = [ CRCTestValue("Numbers1", b"123456789", 0xE3069283), CRCTestValue("Numbers2", b"23456789", 0xBFE92A83), CRCTestValue("Phrase", b"The quick brown fox jumps over the lazy dog", 0x22620404),