Skip to content

Commit

Permalink
TST: Make test_expressions cover more arithmetic operators
Browse files Browse the repository at this point in the history
  • Loading branch information
jtratner committed Jun 18, 2013
1 parent f927fed commit 0e7781c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pandas/tests/test_expressions.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ def setUp(self):
def tearDown(self):
expr._MIN_ELEMENTS = self._MIN_ELEMENTS

#TODO: add test for Panel
#TODO: add tests for binary operations
@nose.tools.nottest
def run_arithmetic_test(self, df, assert_func, check_dtype=False):
expr._MIN_ELEMENTS = 0
operations = ['add', 'sub', 'mul', 'truediv']
operations = ['add', 'sub', 'mul','mod','truediv','floordiv','pow']
if not py3compat.PY3:
operations.append('div')
for arith in operations:
Expand Down

0 comments on commit 0e7781c

Please sign in to comment.