Skip to content

Commit d296bcc

Browse files
committed
Remove test values due to old Python version
1 parent c62fc74 commit d296bcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_types.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def test_pytypes(self):
141141
def test_canonize_pytypes(self):
142142
pytypes = [
143143
int, str, list, dict, typing.Optional[int],
144-
typing.Sequence[int], typing.Literal['a'],
144+
typing.Sequence[int],
145145

146146
# collections.abc
147147
cabc.Hashable, cabc.Sized, cabc.Callable, cabc.Iterable, cabc.Container,
@@ -153,7 +153,7 @@ def test_canonize_pytypes(self):
153153
cabc.Awaitable, cabc.Coroutine,
154154
cabc.AsyncIterable, cabc.AsyncIterator, cabc.AsyncGenerator,
155155

156-
typing.NoReturn, typing.TypeAlias,
156+
typing.NoReturn
157157
]
158158
for t in pytypes:
159159
a = cast_to_type(t)

0 commit comments

Comments
 (0)