CLN: Remove unused test code
State: closed

cc @WillAyd same code as cleaned in #25647 

intention originally to just deal with the commented out instance of `pytest.raises` for #24332 but may have gone too far!


Labels:
name: Testing
description: pandas testing functions or related to the test suite
name: Clean

Comments:
I did start but got into a bit of a mess needs fixture isation first

On Mon, 11 Mar 2019, 17:52 William Ayd, <notifications@github.com> wrote:

> *@WillAyd* commented on this pull request.
>
> Great thanks as always for the PR. One comment on quick glance - will deep
> dive into review later
> ------------------------------
>
> In pandas/tests/computation/test_eval.py
> <https://github.com/pandas-dev/pandas/pull/25670#discussion_r264354023>:
>
> > @@ -168,7 +167,15 @@ def test_complex_cmp_ops(self):
>          for lhs, cmp1, rhs, binop, cmp2 in product(self.lhses, cmp_ops,
>
> Does it make sense to parametrize this?
>
> —
> You are receiving this because you authored the thread.
>
>
> Reply to this email directly, view it on GitHub
> <https://github.com/pandas-dev/pandas/pull/25670#pullrequestreview-212990767>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AMjKXZUpJfRRy4GQGmsHTxwNyUH_sKvLks5vVpfIgaJpZM4bpLXM>
> .
>

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=h1) Report
> Merging [#25670](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/feeba90a2a36674c11f0fed32d1652cfec04c608?src=pr&el=desc) will **increase** coverage by `<.01%`.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/25670/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=tree)

```diff
@@            Coverage Diff             @@
##           master   #25670      +/-   ##
==========================================
+ Coverage   91.29%   91.29%   +<.01%     
==========================================
  Files         173      173              
  Lines       52961    52961              
==========================================
+ Hits        48349    48350       +1     
+ Misses       4612     4611       -1
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.86% <ø> (ø)` | :arrow_up: |
| #single | `41.73% <ø> (-0.01%)` | :arrow_down: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/25670/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `89.08% <0%> (+0.09%)` | :arrow_up: |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=footer). Last update [feeba90...3c64662](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=h1) Report
> Merging [#25670](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/21769e9622630ab12bdcb480da0779eea644b04a?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/pandas-dev/pandas/pull/25670/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #25670   +/-   ##
=======================================
  Coverage   91.29%   91.29%           
=======================================
  Files         173      173           
  Lines       52961    52961           
=======================================
  Hits        48349    48349           
  Misses       4612     4612
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `89.86% <ø> (ø)` | :arrow_up: |
| #single | `41.73% <ø> (ø)` | :arrow_up: |


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=footer). Last update [21769e9...d15f6bb](https://codecov.io/gh/pandas-dev/pandas/pull/25670?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

thanks @simonjayhawkins