8000 CLN: Remove unused test code by simonjayhawkins · Pull Request #25670 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

CLN: Remove unused test code #25670

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 4 commits into from
Mar 12, 2019
Merged
Changes from 1 commit
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
Prev Previous commit
part parametrize
  • Loading branch information
simonjayhawkins committed Mar 11, 2019
commit d15f6bb3e08817711f1fd6a07fc13b9034a9ba6c
12 changes: 6 additions & 6 deletions pandas/tests/computation/test_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ def teardown_method(self, method):
del self.pandas_rhses, self.pandas_lhses, self.current_engines

@pytest.mark.slow
def test_complex_cmp_ops(self):
cmp_ops = ('!=', '==', '<=', '>=', '<', '>')
cmp2_ops = ('>', '<')
for lhs, cmp1, rhs, binop, cmp2 in product(self.lhses, cmp_ops,
self.rhses, self.bin_ops,
cmp2_ops):
@pytest.mark.parametrize('cmp1', ['!=', '==', '<=', '>=', '<', '>'],
ids=['ne', 'eq', 'le', 'ge', 'lt', 'gt'])
@pytest.mark.parametrize('cmp2', ['>', '<'], ids=['gt', 'lt'])
def test_complex_cmp_ops(self, cmp1, cmp2):
for lhs, rhs, binop in product(
self.lhses, self.rhses, self.bin_ops):
lhs_new = _eval_single_bin(lhs, cmp1, rhs, self.engine)
rhs_new = _eval_single_bin(lhs, cmp2, rhs, self.engine)
expected = _eval_single_bin(
Expand Down
0