Skip to content

Commit f0a879d

Browse files
committed
chore: spelling
1 parent 78067f4 commit f0a879d

32 files changed

+34
-34
lines changed

tests/indexes/arithmetic/bool/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_add_numpy_array() -> None:
5454

5555
# `numpy` typing gives the corresponding `ndarray`s in the static type
5656
# checking, where our `__radd__` cannot override. At runtime, they return
57-
# `Index`s with the correct element type.
57+
# `Index`es with the correct element type.
5858
check(assert_type(b + left, "npt.NDArray[np.bool_]"), pd.Index, np.bool_)
5959
check(assert_type(i + left, "npt.NDArray[np.int64]"), pd.Index, np.integer)
6060
check(assert_type(f + left, "npt.NDArray[np.float64]"), pd.Index, np.floating)

tests/indexes/arithmetic/bool/test_sub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_sub_numpy_array() -> None:
6363

6464
# `numpy` typing gives the corresponding `ndarray`s in the static type
6565
# checking, where our `__rsub__` cannot override. At runtime, they return
66-
# `Index`s with the correct element type.
66+
# `Index`es with the correct element type.
6767
if TYPE_CHECKING_INVALID_USAGE:
6868
assert_type(b - left, Never)
6969
check(assert_type(i - left, "npt.NDArray[np.int64]"), pd.Index, np.integer)

tests/indexes/arithmetic/complex/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_add_numpy_array() -> None:
5353

5454
# `numpy` typing gives the corresponding `ndarray`s in the static type
5555
# checking, where our `__radd__` cannot override. At runtime, they return
56-
# `Index`s with the correct element type.
56+
# `Index`es with the correct element type.
5757
check(assert_type(b + left, "npt.NDArray[np.bool_]"), pd.Index, np.complexfloating)
5858
check(assert_type(i + left, "npt.NDArray[np.int64]"), pd.Index, np.complexfloating)
5959
check(

tests/indexes/arithmetic/complex/test_sub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_sub_numpy_array() -> None:
5555

5656
# `numpy` typing gives the corresponding `ndarray`s in the static type
5757
# checking, where our `__rsub__` cannot override. At runtime, they return
58-
# `Index`s with the correct element type.
58+
# `Index`es with the correct element type.
5959
check(assert_type(b - left, NoReturn), pd.Index, np.complexfloating)
6060
check(assert_type(i - left, "npt.NDArray[np.int64]"), pd.Index, np.complexfloating)
6161
check(

tests/indexes/arithmetic/float/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_add_numpy_array() -> None:
5353

5454
# `numpy` typing gives the corresponding `ndarray`s in the static type
5555
# checking, where our `__radd__` cannot override. At runtime, they return
56-
# `Index`s with the correct element type.
56+
# `Index`es with the correct element type.
5757
check(assert_type(b + left, "npt.NDArray[np.bool_]"), pd.Index, np.floating)
5858
check(assert_type(i + left, "npt.NDArray[np.int64]"), pd.Index, np.floating)
5959
check(assert_type(f + left, "npt.NDArray[np.float64]"), pd.Index, np.floating)

tests/indexes/arithmetic/float/test_sub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_sub_numpy_array() -> None:
5555

5656
# `numpy` typing gives the corresponding `ndarray`s in the static type
5757
# checking, where our `__rsub__` cannot override. At runtime, they return
58-
# `Index`s with the correct element type.
58+
# `Index`es with the correct element type.
5959
check(assert_type(b - left, NoReturn), pd.Index, np.floating)
6060
check(assert_type(i - left, "npt.NDArray[np.int64]"), pd.Index, np.floating)
6161
check(assert_type(f - left, "npt.NDArray[np.float64]"), pd.Index, np.floating)

tests/indexes/arithmetic/int/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_add_numpy_array() -> None:
5353

5454
# `numpy` typing gives the corresponding `ndarray`s in the static type
5555
# checking, where our `__radd__` cannot override. At runtime, they return
56-
# `Index`s with the correct element type.
56+
# `Index`es with the correct element type.
5757
check(assert_type(b + left, "npt.NDArray[np.bool_]"), pd.Index, np.integer)
5858
check(assert_type(i + left, "npt.NDArray[np.int64]"), pd.Index, np.integer)
5959
check(assert_type(f + left, "npt.NDArray[np.float64]"), pd.Index, np.floating)

tests/indexes/arithmetic/int/test_sub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def test_sub_numpy_array() -> None:
5555

5656
# `numpy` typing gives the corresponding `ndarray`s in the static type
5757
# checking, where our `__rsub__` cannot override. At runtime, they return
58-
# `Index`s with the correct element type.
58+
# `Index`es with the correct element type.
5959
check(assert_type(b - left, NoReturn), pd.Index, np.integer)
6060
check(assert_type(i - left, "npt.NDArray[np.int64]"), pd.Index, np.integer)
6161
check(assert_type(f - left, "npt.NDArray[np.float64]"), pd.Index, np.floating)

tests/indexes/arithmetic/str/test_add.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ def test_add_numpy_array() -> None:
5959

6060
# `numpy` typing gives `npt.NDArray[np.int64]` in the static type
6161
# checking, where our `__radd__` cannot override. At runtime, they return
62-
# `Index`s.
62+
# `Index`es.
6363
if TYPE_CHECKING_INVALID_USAGE:
6464
assert_type(i + left, "npt.NDArray[np.int64]")
6565
if sys.version_info >= (3, 11):
6666
# `numpy` typing gives `npt.NDArray[np.int64]` in the static type
6767
# checking, where our `__radd__` cannot override. At runtime, they return
68-
# `Index`s.
68+
# `Index`es.
6969
check(assert_type(r0 + left, "npt.NDArray[np.str_]"), pd.Index, str)
7070
else:
7171
# Python 3.10 uses NumPy 2.2.6, and it has for r0 ndarray[tuple[int,...], dtype[str_]]

tests/indexes/arithmetic/test_add.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def test_add_i_numpy_array() -> None:
6161

6262
# `numpy` typing gives the corresponding `ndarray`s in the static type
6363
# checking, where our `__radd__` cannot override. At runtime, they return
64-
# `Index`s.
64+
# `Index`es.
6565
# microsoft/pyright#10924
6666
check(
6767
assert_type(b + left_i, Any), # pyright: ignore[reportAssertTypeFailure]

0 commit comments

Comments
 (0)