Skip to content

Commit 861ee2e

Browse files
Terji PetersenTerji Petersen
Terji Petersen
authored and
Terji Petersen
committed
linting
1 parent 2528c2c commit 861ee2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/indexes/common.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,8 @@ def test_insert_na(self, nulls_fixture, simple_index):
855855
if na_val is pd.NaT:
856856
expected = Index([index[0], pd.NaT] + list(index[1:]), dtype=object)
857857
else:
858-
expected = Index([index[0], np.nan] + list(index[1:])) # GH#43921 we preserve float dtype
858+
expected = Index([index[0], np.nan] + list(index[1:]))
859+
# GH#43921 we preserve float dtype
859860
if index.dtype.kind == "f":
860861
expected = Index(expected, dtype=index.dtype)
861862

0 commit comments

Comments
 (0)