Skip to content

Commit

Permalink
Test more
Browse files Browse the repository at this point in the history
  • Loading branch information
JukkaL committed Jun 18, 2024
1 parent 0f939da commit 4f8b8ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test-data/unit/pythoneval.test
Original file line number Diff line number Diff line change
Expand Up @@ -2120,7 +2120,7 @@ _testPEP695VarianceInference.py:17: error: Incompatible types in assignment (exp

[case testPEP695TypeAliasWithDifferentTargetTypes]
# flags: --python-version=3.12 --enable-incomplete-feature=NewGenericSyntax
from typing import Any, Callable, List, Literal, TypedDict, overload, TypeAlias, TypeVar
from typing import Any, Callable, List, Literal, TypedDict, overload, TypeAlias, TypeVar, Never

class C[T]: pass

Expand Down Expand Up @@ -2192,3 +2192,6 @@ type K1 = A[int] | None
type K2 = None | A[int]
type K3 = B[int] | None
type K4 = None | B[int]

type L1 = Never
type L2 = list[Never]

0 comments on commit 4f8b8ad

Please sign in to comment.