Skip to content

TST: Remove pow test in expressions #18995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 29, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions ci/install_travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ if [ "$CONDA_BUILD_TEST" ]; then
conda install conda-build
fi

# TODO(jreback)
echo
echo "[fix conda version]"
conda install conda=4.3.30

echo
echo "[add channels]"
conda config --remove channels defaults || exit 1
Expand Down
8 changes: 1 addition & 7 deletions pandas/tests/test_expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,11 @@ def teardown_method(self, method):
def run_arithmetic(self, df, other, assert_func, check_dtype=False,
test_flex=True):
expr._MIN_ELEMENTS = 0
operations = ['add', 'sub', 'mul', 'mod', 'truediv', 'floordiv', 'pow']
operations = ['add', 'sub', 'mul', 'mod', 'truediv', 'floordiv']
if not compat.PY3:
operations.append('div')
for arith in operations:

# numpy >= 1.11 doesn't handle integers
# raised to integer powers
# https://github.com/pandas-dev/pandas/issues/15363
if arith == 'pow' and not _np_version_under1p11:
continue

operator_name = arith
if arith == 'div':
operator_name = 'truediv'
Expand Down