Skip to content

Commit 34a970a

Browse files
try fix type annotations
1 parent 2426cc5 commit 34a970a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/extension/test_arrow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def _is_temporal_supported(self, opname, pa_dtype):
942942

943943
def _get_expected_exception(
944944
self, op_name: str, obj, other
945-
) -> type[Exception] | None:
945+
) -> type[Exception] | tuple[type[Exception], ...] | None:
946946
if op_name in ("__divmod__", "__rdivmod__"):
947947
return (self.divmod_exc, TypeError)
948948

0 commit comments

Comments
 (0)