Skip to content

Commit 6aa9652

Browse files
committed
fixing test cases where the position of NaN has changed
1 parent 6e54f2e commit 6aa9652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/series/methods/test_value_counts.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def test_value_counts_categorical_with_nan(self):
185185
(
186186
Series([False, True, True, pd.NA]),
187187
False,
188-
Series([2, 1, 1], index=[True, pd.NA, False]),
188+
Series([2, 1, 1], index=[True, False, pd.NA]),
189189
),
190190
(
191191
Series([False, True, True, pd.NA]),
@@ -195,7 +195,7 @@ def test_value_counts_categorical_with_nan(self):
195195
(
196196
Series(range(3), index=[True, False, np.nan]).index,
197197
False,
198-
Series([1, 1, 1], index=[np.nan, True, False]),
198+
Series([1, 1, 1], index=[True, False, np.nan]),
199199
),
200200
],
201201
)

0 commit comments

Comments
 (0)