Skip to content

Commit ad5d98d

Browse files
committed
Update test_issue_40.py
Sequence type not found in collections (when I probably meant to use typing). Moot point though, expected type should be iterable.
1 parent f64e4bb commit ad5d98d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/issues/test_issue_40.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
https://github.com/MAK-Relic-Tool/Issue-Tracker/issues/40
44
"""
55
import io
6-
from collections import Sequence
6+
from typing import Iterable
77
from contextlib import redirect_stderr
88

99
import pytest
@@ -21,7 +21,7 @@
2121

2222

2323
@pytest.mark.parametrize(["args", "msg"], _ARGS)
24-
def test_argparse_error(args: Sequence[str], msg: str):
24+
def test_argparse_error(args: Iterable[str], msg: str):
2525
from relic.core.cli import cli_root
2626

2727
with io.StringIO() as f:

0 commit comments

Comments
 (0)