Skip to content

Commit 44c0090

Browse files
try fixing type annotations
1 parent 2e9b0d1 commit 44c0090

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/extension/test_arrow.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ def _get_expected_exception(
944944
if op_name in ("__divmod__", "__rdivmod__"):
945945
return (NotImplementedError, TypeError)
946946

947+
exc: type[Exception] | tuple[type[Exception], ...] | None
947948
dtype = tm.get_dtype(obj)
948949
# error: Item "dtype[Any]" of "dtype[Any] | ExtensionDtype" has no
949950
# attribute "pyarrow_dtype"

0 commit comments

Comments
 (0)