Skip to content

Commit bbf80ce

Browse files
author
OlivierLuG
committed
pandas-dev#34131 fix one test failure
1 parent b73fae0 commit bbf80ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/frame/test_arithmetic.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,8 @@ def test_floordiv_axis0_numexpr_path(self, opname):
382382

383383
arr = np.arange(_MIN_ELEMENTS + 100).reshape(_MIN_ELEMENTS // 100 + 1, -1) * 100
384384
df = pd.DataFrame(arr)
385-
assert _USE_NUMEXPR
385+
if _NUMEXPR_INSTALLED:
386+
assert _USE_NUMEXPR
386387
df["C"] = 1.0
387388

388389
ser = df[0]

0 commit comments

Comments
 (0)