Skip to content

Commit 7454a7d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent cb445f3 commit 7454a7d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pandas/tests/arithmetic/test_numeric.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -861,14 +861,11 @@ def test_np_array_mul_ea_array_returns_extensionarray(self):
861861
ea_array = array([1, 2, 3, 4, 5], dtype="Int64")
862862
result = np_array * ea_array
863863
assert isinstance(result, type(ea_array))
864-
tm.assert_equal(
865-
result, array([1, 4, 9, 16, 25], dtype="Int64")
866-
)
864+
tm.assert_equal(result, array([1, 4, 9, 16, 25], dtype="Int64"))
867865

868866
def test_df_mul_np_and_ea_array_shape_and_errors(self):
869867
df = pd.DataFrame(np.arange(50).reshape(10, 5)).notna().values
870-
NP_array = np.array(
871-
list(range(10)), dtype=np.int64).reshape(10, 1)
868+
NP_array = np.array(list(range(10)), dtype=np.int64).reshape(10, 1)
872869
EA_array = array(list(range(10)), dtype="Int64").reshape(10, 1)
873870
result_np = df * NP_array
874871
assert isinstance(result_np, np.ndarray)

0 commit comments

Comments
 (0)