Skip to content

Commit 408da4a

Browse files
author
OlivierLuG
committed
CI pandas-dev#34131 fix tests failure
1 parent bbf80ce commit 408da4a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

pandas/tests/frame/test_arithmetic.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
import pandas as pd
1111
from pandas import DataFrame, MultiIndex, Series
1212
import pandas._testing as tm
13-
from pandas.core.computation.expressions import _USE_NUMEXPR, _MIN_ELEMENTS
13+
from pandas.core.computation.expressions import (
14+
_USE_NUMEXPR,
15+
_MIN_ELEMENTS,
16+
_NUMEXPR_INSTALLED,
17+
)
1418
import pandas.core.common as com
1519
from pandas.tests.frame.common import _check_mixed_float, _check_mixed_int
1620

@@ -384,6 +388,8 @@ def test_floordiv_axis0_numexpr_path(self, opname):
384388
df = pd.DataFrame(arr)
385389
if _NUMEXPR_INSTALLED:
386390
assert _USE_NUMEXPR
391+
else:
392+
return
387393
df["C"] = 1.0
388394

389395
ser = df[0]

0 commit comments

Comments
 (0)