Skip to content

Commit 4cbefc0

Browse files
committed
add test
1 parent cdffe8a commit 4cbefc0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

fgpyo/util/tests/test_types.py

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
from typing import Iterable
2+
from typing import List
3+
from typing import Sequence
4+
5+
from fgpyo.util import types
6+
7+
def test_is_listlike() -> None:
8+
assert types.is_list_like(List[str])
9+
assert types.is_list_like(Iterable[str])
10+
assert types.is_list_like(Sequence[str])

0 commit comments

Comments
 (0)