Run Isort on tests/indexes part three
State: closed

- [x] partial #23334
- [x] tests added / passed
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
Run `isort -rc pandas/tests/indexes/`

PR is capped at 20 files. So this is not all the files modified from `pandas/tests/indexes/`. So this is Part Three of this directory `pandas/tests/indexes/`. 


Labels:
name: Code Style
description: Code style, linting, code_checks

Comments:
Hello @thoo! Thanks for submitting the PR.

 - There are no PEP8 issues in the file [`pandas/tests/indexes/common.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/common.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/conftest.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/conftest.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimelike.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimelike.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_arithmetic.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_arithmetic.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_astype.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_astype.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_construction.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_construction.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_date_range.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_date_range.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_datetime.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_datetime.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_datetimelike.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_datetimelike.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_formats.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_formats.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_indexing.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_indexing.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_misc.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_misc.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_ops.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_ops.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_partial_slicing.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_partial_slicing.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_scalar_compat.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_scalar_compat.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_setops.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_setops.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_timezones.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_timezones.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/datetimes/test_tools.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/datetimes/test_tools.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/test_numeric.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/test_numeric.py) !

 - There are no PEP8 issues in the file [`pandas/tests/indexes/test_range.py`](https://github.com/thoo/pandas/blob/4e088cfe24681a335df28bf64a816116ed6ce3f2/pandas/tests/indexes/test_range.py) !


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

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

```diff
@@            Coverage Diff             @@
##           master   #23340      +/-   ##
==========================================
- Coverage   92.22%   92.22%   -0.01%     
==========================================
  Files         169      169              
  Lines       51261    51258       -3     
==========================================
- Hits        47277    47274       -3     
  Misses       3984     3984
```

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

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/23340?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/dtypes/cast.py](https://codecov.io/gh/pandas-dev/pandas/pull/23340/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZHR5cGVzL2Nhc3QucHk=) | `89.22% <0%> (-0.06%)` | :arrow_down: |
| [pandas/core/arrays/datetimes.py](https://codecov.io/gh/pandas-dev/pandas/pull/23340/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2RhdGV0aW1lcy5weQ==) | `97.45% <0%> (-0.01%)` | :arrow_down: |
| [pandas/core/arrays/sparse.py](https://codecov.io/gh/pandas-dev/pandas/pull/23340/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL3NwYXJzZS5weQ==) | `91.84% <0%> (ø)` | :arrow_up: |
| [pandas/core/series.py](https://codecov.io/gh/pandas-dev/pandas/pull/23340/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvc2VyaWVzLnB5) | `93.91% <0%> (ø)` | :arrow_up: |

------

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

@jreback  Pass all checks.
thanks @thoo