Skip to content

Commit 04dcbe8

Browse files
committed
further test cleanup
1 parent 21e610c commit 04dcbe8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pandas/tests/frame/test_sorting.py

-4
Original file line numberDiff line numberDiff line change
@@ -524,13 +524,9 @@ def test_sort_nat_values_in_int_column(self):
524524

525525
# and now check if NaT is still considered as "na" for datetime64
526526
# columns:
527-
df = DataFrame(dict(int=int_values, float=float_values),
528-
columns=["int", "float"])
529-
530527
df = DataFrame(dict(datetime=[Timestamp("2016-01-01"), NaT],
531528
float=float_values), columns=["datetime", "float"])
532529

533-
# check if the dtype is datetime64[ns]:
534530
assert df["datetime"].dtypes == np.dtype("datetime64[ns]"),\
535531
"this test function is not reliable anymore"
536532

0 commit comments

Comments
 (0)