Skip to content

Commit c5df6ec

Browse files
committed
ENH: Skip pyarrow test case if no pyarrow available
1 parent 1adbb0c commit c5df6ec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/groupby/methods/test_kurt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import numpy as np
22

3+
import pandas.util._test_decorators as td
4+
35
import pandas as pd
46
import pandas._testing as tm
57

@@ -28,6 +30,7 @@ def test_groupby_kurt_equivalence():
2830
tm.assert_frame_equal(result, expected)
2931

3032

33+
@td.skip_if_no("pyarrow")
3134
def test_groupby_kurt_arrow_float64():
3235
# GH#40139
3336
# Test groupby.kurt() with float64[pyarrow] dtype

0 commit comments

Comments
 (0)