Skip to content

Commit 801b242

Browse files
committed
skips
1 parent 4d8f2f9 commit 801b242

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

pandas/tests/frame/test_rank.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# -*- coding: utf-8 -*-
2+
import pytest
23
from datetime import timedelta, datetime
34
from distutils.version import LooseVersion
45
from numpy import nan
@@ -195,6 +196,7 @@ def test_rank_axis(self):
195196
def test_rank_methods_frame(self):
196197
tm.skip_if_no_package('scipy', min_version='0.13',
197198
app='scipy.stats.rankdata')
199+
pytest.importorskip('scipy.stats.special')
198200
import scipy
199201
from scipy.stats import rankdata
200202

pandas/tests/series/test_rank.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class TestSeriesRank(TestData):
2929

3030
def test_rank(self):
3131
tm._skip_if_no_scipy()
32+
pytest.importorskip('scipy.stats.special')
3233
from scipy.stats import rankdata
3334

3435
self.ts[::2] = np.nan

pandas/tests/test_resample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,7 @@ def test_resample_dtype_preservation(self):
16881688

16891689
def test_resample_dtype_coerceion(self):
16901690

1691-
pytest.importorskip('scipy')
1691+
pytest.importorskip('scipy.interpolate')
16921692

16931693
# GH 16361
16941694
df = {"a": [1, 3, 1, 4]}

0 commit comments

Comments
 (0)