File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3319,10 +3319,9 @@ def test_func(_: Hashable) -> None:
33193319 pass
33203320
33213321 if TYPE_CHECKING_INVALID_USAGE :
3322- # TODO: astral-sh/ty#4157 need ty ignores here
3323- test_func (pd .DataFrame ()) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type]
3324- test_func (pd .Series ([], dtype = object )) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type]
3325- test_func (pd .Index ([])) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type]
3322+ test_func (pd .DataFrame ()) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type] # ty: ignore[invalid-argument-type]
3323+ test_func (pd .Series ([], dtype = object )) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type] # ty: ignore[invalid-argument-type]
3324+ test_func (pd .Index ([])) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type] # ty: ignore[invalid-argument-type]
33263325
33273326
33283327def test_resample () -> None :
@@ -3804,8 +3803,7 @@ def test_xs_frame_new() -> None:
38043803 check (assert_type (s2 , pd .Series | pd .DataFrame ), pd .Series )
38053804
38063805 if TYPE_CHECKING_INVALID_USAGE :
3807- # TODO: astral-sh/ty#4157 need ty ignore here
3808- df .xs (["mammel" ]) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type]
3806+ df .xs (["mammel" ]) # type: ignore[arg-type] # pyright: ignore[reportArgumentType] # pyrefly: ignore[bad-argument-type] # ty: ignore[invalid-argument-type]
38093807
38103808
38113809def test_align () -> None :
You can’t perform that action at this time.
0 commit comments