Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
loicdiridollou committed Nov 21, 2024
1 parent 96cae75 commit 3e79814
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1243,10 +1243,10 @@ def test_types_dot() -> None:
n1 = np.array([[0, 1], [1, 2], [-1, -1], [2, 0]])
check(assert_type(s1.dot(s2), Scalar), int)
check(assert_type(s1 @ s2, Scalar), int)
check(assert_type(s1.dot(df1), "pd.Series[int]"),pd.Series, np.int64)
check(assert_type(s1 @ df1, pd.Series),pd.Series )
check(assert_type(s1.dot(n1), np.ndarray),np.ndarray )
check(assert_type(s1 @ n1, np.ndarray),np.ndarray )
check(assert_type(s1.dot(df1), "pd.Series[int]"), pd.Series, np.int64)
check(assert_type(s1 @ df1, pd.Series), pd.Series)
check(assert_type(s1.dot(n1), np.ndarray), np.ndarray)
check(assert_type(s1 @ n1, np.ndarray), np.ndarray)


def test_series_loc_setitem() -> None:
Expand Down

0 comments on commit 3e79814

Please sign in to comment.