We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6895e26 commit 2fa6873Copy full SHA for 2fa6873
pandas/_testing/_io.py
@@ -225,7 +225,7 @@ def wrapper(*args, **kwargs):
225
)
226
try:
227
return t(*args, **kwargs)
228
- except Exception as err:
+ except Exception as err: # pylint: disable=broad-except
229
errno = getattr(err, "errno", None)
230
if not errno and hasattr(errno, "reason"):
231
# error: "Exception" has no attribute "reason"
pandas/core/dtypes/cast.py
@@ -495,7 +495,7 @@ def maybe_cast_to_extension_array(
495
496
497
result = cls._from_sequence(obj, dtype=dtype)
498
- except Exception:
+ except Exception: # pylint: disable=broad-except
499
# We can't predict what downstream EA constructors may raise
500
result = obj
501
return result
0 commit comments