Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdidion committed Feb 22, 2024
1 parent cdffe8a commit 4cbefc0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions fgpyo/util/tests/test_types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from typing import Iterable
from typing import List
from typing import Sequence

from fgpyo.util import types

def test_is_listlike() -> None:
assert types.is_list_like(List[str])
assert types.is_list_like(Iterable[str])
assert types.is_list_like(Sequence[str])

0 comments on commit 4cbefc0

Please sign in to comment.