Skip to content

Commit 5780e7b

Browse files
committed
refactor(series): remove duplicated tests
1 parent e07d186 commit 5780e7b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/indexes/test_indexes.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,11 +262,9 @@ def test_types_to_numpy() -> None:
262262
def test_index_arithmetic() -> None:
263263
# GH 287
264264
idx = pd.Index([1, 2.2, 3], dtype=float)
265-
check(assert_type(idx - 3, "pd.Index[float]"), pd.Index, np.float64)
266265
check(assert_type(idx * 3, "pd.Index[float]"), pd.Index, np.float64)
267266
check(assert_type(idx / 3, "pd.Index[float]"), pd.Index, np.float64)
268267
check(assert_type(idx // 3, "pd.Index[float]"), pd.Index, np.float64)
269-
check(assert_type(3 - idx, "pd.Index[float]"), pd.Index, np.float64)
270268
check(assert_type(3 * idx, "pd.Index[float]"), pd.Index, np.float64)
271269
check(assert_type(3 / idx, "pd.Index[float]"), pd.Index, np.float64)
272270
check(assert_type(3 // idx, "pd.Index[float]"), pd.Index, np.float64)

0 commit comments

Comments
 (0)