Skip to content

Commit 94ebca0

Browse files
committed
TST: Remove pow test in expressions
These are already skipped for NumPy>=1.12, and buggy for NumPy 1.10.4
1 parent 9c1071b commit 94ebca0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

pandas/tests/test_expressions.py

+1-7
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,11 @@ def teardown_method(self, method):
7373
def run_arithmetic(self, df, other, assert_func, check_dtype=False,
7474
test_flex=True):
7575
expr._MIN_ELEMENTS = 0
76-
operations = ['add', 'sub', 'mul', 'mod', 'truediv', 'floordiv', 'pow']
76+
operations = ['add', 'sub', 'mul', 'mod', 'truediv', 'floordiv']
7777
if not compat.PY3:
7878
operations.append('div')
7979
for arith in operations:
8080

81-
# numpy >= 1.11 doesn't handle integers
82-
# raised to integer powers
83-
# https://github.com/pandas-dev/pandas/issues/15363
84-
if arith == 'pow' and not _np_version_under1p11:
85-
continue
86-
8781
operator_name = arith
8882
if arith == 'div':
8983
operator_name = 'truediv'

0 commit comments

Comments
 (0)