CLN: Remove dead code in api/test_types.py
State: closed

Follow-up to #19769.


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

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

```diff
@@           Coverage Diff           @@
##           master   #24516   +/-   ##
=======================================
  Coverage   31.88%   31.88%           
=======================================
  Files         166      166           
  Lines       52434    52434           
=======================================
  Hits        16718    16718           
  Misses      35716    35716
```

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


------

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

```diff
@@           Coverage Diff           @@
##           master   #24516   +/-   ##
=======================================
  Coverage   31.88%   31.88%           
=======================================
  Files         166      166           
  Lines       52434    52434           
=======================================
  Hits        16718    16718           
  Misses      35716    35716
```

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


------

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

```diff
@@           Coverage Diff           @@
##           master   #24516   +/-   ##
=======================================
  Coverage   31.88%   31.88%           
=======================================
  Files         166      166           
  Lines       52434    52434           
=======================================
  Hits        16718    16718           
  Misses      35716    35716
```

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


------

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