Skip to content

Commit

Permalink
Fix tests on python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Secrus committed Jul 27, 2022
1 parent 96d8419 commit 6a8fa0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crashtest/frame_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

from typing import TYPE_CHECKING
from typing import Any
from typing import List


if TYPE_CHECKING:

from crashtest.frame import Frame


class FrameCollection(list[Any]):
class FrameCollection(List[Any]):
def __init__(self, frames: list[Frame] | None = None, count: int = 0) -> None:
if frames is None:
frames = []
Expand Down

0 comments on commit 6a8fa0d

Please sign in to comment.