TST: follow-up to Test nested pandas array #24993
State: closed

follow-up to #24993

@jreback : following discussion with @jorisvandenbossche at europandas it was deemed undesirable to apply markers directly to tests in the base class since these tests can be used by downstream projects.

The main goal of this PR is to remove the duplication added in #24993. With the constraint noted above this poses a slight problem regarding parameterised base tests. The parameterisation needs to be duplicated! To reduce this slightly some parameterisation has been replaced with fixtures.

@TomAugspurger : the additions to `test_numpy.py` are moreless copied from `numpy_/test_numpy_nested.py` with a few additional comments on the failure cases and the numpy version skip scoped to only the tests using the `data_missing` fixture.




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

Comments:
# [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25155?src=pr&el=h1) Report
> Merging [#25155](https://codecov.io/gh/pandas-dev/pandas/pull/25155?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/e3b095074c5c3b29ec25a994cd204349b872d961?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/25155/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25155?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #25155   +/-   ##
=======================================
  Coverage   92.37%   92.37%           
=======================================
  Files         166      166           
  Lines       52408    52408           
=======================================
  Hits        48412    48412           
  Misses       3996     3996
```

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


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25155?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/25155?src=pr&el=footer). Last update [e3b0950...fb165a3](https://codecov.io/gh/pandas-dev/pandas/pull/25155?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/25155?src=pr&el=h1) Report
> Merging [#25155](https://codecov.io/gh/pandas-dev/pandas/pull/25155?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/09633b868f2f999599e29d32a326e112fdbbf3ec?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/25155/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/25155?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #25155   +/-   ##
=======================================
  Coverage   92.34%   92.34%           
=======================================
  Files         166      166           
  Lines       52310    52310           
=======================================
  Hits        48304    48304           
  Misses       4006     4006
```

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


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/25155?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/25155?src=pr&el=footer). Last update [09633b8...a83bd46](https://codecov.io/gh/pandas-dev/pandas/pull/25155?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).

also pls merge master
Thanks @simonjayhawkins !