Skip to content

Commit 083efd5

Browse files
committed
example - revert before merging
1 parent 4754b86 commit 083efd5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/compat/numpy/function.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def validate_clip_with_axis(
206206
validate_clip(args, kwargs)
207207
# error: Incompatible return value type (got "Union[ndarray[Any, Any],
208208
# str, int]", expected "Union[str, int, None]")
209-
return axis # type: ignore[return-value]
209+
return axis # type: ignore
210210

211211

212212
CUM_FUNC_DEFAULTS: dict[str, Any] = {}

pandas/tests/computation/test_compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ def test_compat():
2727
def test_invalid_numexpr_version(engine, parser):
2828
if engine == "numexpr":
2929
pytest.importorskip("numexpr")
30-
a, b = 1, 2 # noqa: F841
30+
a, b = 1, 2 # noqa
3131
res = pd.eval("a + b", engine=engine, parser=parser)
3232
assert res == 3

0 commit comments

Comments
 (0)