Skip to content

Commit 2f37a63

Browse files
committed
Remove test_nargsort_datetimearray_warning
1 parent 4460191 commit 2f37a63

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/tests/test_sorting.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,6 @@ def test_nargsort(self):
181181
exp = list(range(5)) + list(range(105, 110)) + list(range(104, 4, -1))
182182
tm.assert_numpy_array_equal(result, np.array(exp), check_dtype=False)
183183

184-
def test_nargsort_datetimearray_warning(self):
185-
# https://github.com/pandas-dev/pandas/issues/25439
186-
# can be removed once the FutureWarning for np.array(DTA) is removed
187-
data = to_datetime([0, 2, 0, 1]).tz_localize('Europe/Brussels')
188-
with tm.assert_produces_warning(None):
189-
nargsort(data)
190-
191184

192185
class TestMerge:
193186

0 commit comments

Comments
 (0)