Skip to content

Commit

Permalink
Fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Nov 26, 2023
1 parent c1463b8 commit 4989b44
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pandas/tests/extension/base/ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ def _get_expected_exception(
if using_pyarrow_string_dtype() and result is not None:
import pyarrow as pa

result = result, pa.lib.ArrowNotImplementedError, NotImplementedError
result = ( # type: ignore[assignment]
result,
pa.lib.ArrowNotImplementedError,
NotImplementedError,
)
return result

def _cast_pointwise_result(self, op_name: str, obj, other, pointwise_result):
Expand Down

0 comments on commit 4989b44

Please sign in to comment.