Skip to content

Commit 495dfe3

Browse files
committed
Fix tests after rebase
1 parent 14a7534 commit 495dfe3

File tree

1 file changed

+0
-3
lines changed
  • crates/ty_python_semantic/resources/mdtest/libraries

1 file changed

+0
-3
lines changed

crates/ty_python_semantic/resources/mdtest/libraries/numpy.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ class _SupportsDType(Protocol[_DTypeT_co]):
4444
@property
4545
def dtype(self) -> _DTypeT_co: ...
4646

47-
# TODO: no errors here
48-
# error: [invalid-type-arguments] "Type `typing.TypeVar` is not assignable to upper bound `generic[Any]` of type variable `_ScalarT_co@dtype`"
49-
# error: [invalid-type-arguments] "Type `typing.TypeVar` is not assignable to upper bound `generic[Any]` of type variable `_ScalarT_co@dtype`"
5047
_DTypeLike: TypeAlias = type[_ScalarT] | dtype[_ScalarT] | _SupportsDType[dtype[_ScalarT]]
5148

5249
DTypeLike: TypeAlias = _DTypeLike[Any] | str | None

0 commit comments

Comments
 (0)