File tree 3 files changed +4
-1
lines changed
3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
+ import pytest
2
3
from datetime import timedelta , datetime
3
4
from distutils .version import LooseVersion
4
5
from numpy import nan
@@ -195,6 +196,7 @@ def test_rank_axis(self):
195
196
def test_rank_methods_frame (self ):
196
197
tm .skip_if_no_package ('scipy' , min_version = '0.13' ,
197
198
app = 'scipy.stats.rankdata' )
199
+ pytest .importorskip ('scipy.stats.special' )
198
200
import scipy
199
201
from scipy .stats import rankdata
200
202
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ class TestSeriesRank(TestData):
29
29
30
30
def test_rank (self ):
31
31
tm ._skip_if_no_scipy ()
32
+ pytest .importorskip ('scipy.stats.special' )
32
33
from scipy .stats import rankdata
33
34
34
35
self .ts [::2 ] = np .nan
Original file line number Diff line number Diff line change @@ -1688,7 +1688,7 @@ def test_resample_dtype_preservation(self):
1688
1688
1689
1689
def test_resample_dtype_coerceion (self ):
1690
1690
1691
- pytest .importorskip ('scipy' )
1691
+ pytest .importorskip ('scipy.interpolate ' )
1692
1692
1693
1693
# GH 16361
1694
1694
df = {"a" : [1 , 3 , 1 , 4 ]}
You can’t perform that action at this time.
0 commit comments