Skip to content

Commit

Permalink
Fixes for tests for floor-ceil pull
Browse files Browse the repository at this point in the history
  • Loading branch information
robbmcleod committed Apr 4, 2017
1 parent d8bd211 commit 468462c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions numexpr/tests/test_numexpr.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from numpy import (
array, arange, empty, zeros, int32, int64, uint16, complex_, float64, rec,
copy, ones_like, where, alltrue, linspace,
sum, prod, sqrt, fmod,
sum, prod, sqrt, fmod, floor, ceil,
sin, cos, tan, arcsin, arccos, arctan, arctan2,
sinh, cosh, tanh, arcsinh, arccosh, arctanh,
log, log1p, log10, exp, expm1, conj)
Expand Down Expand Up @@ -654,7 +654,8 @@ def method():
for expr in section_tests:
if (dtype == complex and
('<' in expr or '>' in expr or '%' in expr
or "arctan2" in expr or "fmod" in expr)):
or "arctan2" in expr or "fmod" in expr
or "floor" in expr or "ceil" in expr)):
# skip complex comparisons or functions not
# defined in complex domain.
continue
Expand Down

0 comments on commit 468462c

Please sign in to comment.