Skip to content

Commit 6a85b3d

Browse files
committed
check the content of asserted type
1 parent a545264 commit 6a85b3d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/test_frame.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,10 @@ 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-
assert_type(df.clip(lower=lower, upper=upper, axis=axis), pd.DataFrame)
543+
check(
544+
assert_type(df.clip(lower=lower, upper=upper, axis=axis), pd.DataFrame),
545+
pd.DataFrame,
546+
)
544547

545548

546549
def test_types_abs() -> None:

0 commit comments

Comments
 (0)