Skip to content

Commit 4d9c39c

Browse files
committed
Fix typing in tests for Python 3.8
1 parent c6f214a commit 4d9c39c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/test_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import re
22
from sys import stdout
3+
from typing import List, Tuple
34
from unittest.mock import Mock
45

56
from pytest import CaptureFixture, MonkeyPatch, mark, raises
@@ -32,7 +33,7 @@
3233
),
3334
],
3435
)
35-
def test_parse_args(args: list[str], expected: tuple[str, int, Formatter]) -> None:
36+
def test_parse_args(args: List[str], expected: Tuple[str, int, Formatter]) -> None:
3637
assert parse_args(args, "test") == expected
3738

3839

0 commit comments

Comments
 (0)