Skip to content

Commit e93ed83

Browse files
test import scipy fix
1 parent ab3b8b9 commit e93ed83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/tests/frame/methods/test_cov_corr.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ def test_corr_rank_ordered_categorical(
259259
self,
260260
method,
261261
):
262+
pytest.importorskip("scipy")
262263
df = DataFrame(
263264
{
264265
"ord_cat": Series(
@@ -540,6 +541,7 @@ def test_corr_rank_ordered_categorical(
540541
self,
541542
method,
542543
):
544+
pytest.importorskip("scipy")
543545
df1 = DataFrame(
544546
{
545547
"a": Series(

0 commit comments

Comments
 (0)