Skip to content

Commit a545264

Browse files
committed
add missing assert_type (#980)
1 parent a918530 commit a545264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_frame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ def is_none_or_numeric(val: Any) -> bool:
540540
with pytest.raises(ValueError):
541541
df.clip(lower=lower, upper=upper, axis=axis)
542542
else:
543-
df.clip(lower=lower, upper=upper, axis=axis)
543+
assert_type(df.clip(lower=lower, upper=upper, axis=axis), pd.DataFrame)
544544

545545

546546
def test_types_abs() -> None:

0 commit comments

Comments
 (0)