File tree 3 files changed +4
-3
lines changed 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ def test_quantile_empty(self):
431
431
# res = df.quantile(0.5)
432
432
433
433
# datetimes
434
- df = DataFrame (columns = ['a' , 'b' ], dtype = 'datetime64' )
434
+ df = DataFrame (columns = ['a' , 'b' ], dtype = 'datetime64[ns] ' )
435
435
436
436
# FIXME (gives NaNs instead of NaT in 0.18.1 or 0.19.0)
437
437
# res = df.quantile(0.5, numeric_only=False)
Original file line number Diff line number Diff line change @@ -752,5 +752,6 @@ def test_from_custom_template(tmpdir):
752
752
def test_shim ():
753
753
# https://github.com/pandas-dev/pandas/pull/16059
754
754
# Remove in 0.21
755
- with pytest .warns (FutureWarning ):
755
+ with tm .assert_produces_warning (FutureWarning ,
756
+ check_stacklevel = False ):
756
757
from pandas .formats .style import Styler as _styler # noqa
Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ def test_parallel_coordinates(self):
245
245
246
246
def test_parallel_coordinates_with_sorted_labels (self ):
247
247
""" For #15908 """
248
- from pandas .tools . plotting import parallel_coordinates
248
+ from pandas .plotting import parallel_coordinates
249
249
250
250
df = DataFrame ({"feat" : [i for i in range (30 )],
251
251
"class" : [2 for _ in range (10 )] +
You can’t perform that action at this time.
0 commit comments