TST: Fixturize series/test_validate.py
This is in reference to issue #22550
Hello @Anjali2019! Thanks for submitting the PR.

 - There are no PEP8 issues in the file [`pandas/tests/series/test_analytics.py`](https://github.com/Anjali2019/pandas/blob/795cdc1d5d5cbcc351a4e5aa61d3810d2cb48172/pandas/tests/series/test_analytics.py) !

 - There are no PEP8 issues in the file [`pandas/tests/series/test_validate.py`](https://github.com/Anjali2019/pandas/blob/795cdc1d5d5cbcc351a4e5aa61d3810d2cb48172/pandas/tests/series/test_validate.py) !

 Same comment as in #22771:
You have an open PR for `test_analytics.py` already, so you should remove that (`git revert <hash>`) from this PR. 

More generally, make sure that you're on master (`git checkout master`) before you open a new branch.

On the plus side, all the CI failures are unrelated to your PR. Once you push a new commit, things should (hopefully) run through fine.
 > Same comment as in #22771:
> You have an open PR for `test_analytics.py` already, so you should remove that (`git revert <hash>`) from this PR.
> 
> More generally, make sure that you're on master (`git checkout master`) before you open a new branch.
Yes will make sure of that and will revert unrelated commits (y) # [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/22756?src=pr&el=h1) Report
> Merging [#22756](https://codecov.io/gh/pandas-dev/pandas/pull/22756?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/1a12c41d201f56439510e683fadfed1218ea9067?src=pr&el=desc) will **increase** coverage by `0.02%`.
> The diff coverage is `n/a`.

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

```diff
@@            Coverage Diff             @@
##           master   #22756      +/-   ##
==========================================
+ Coverage   92.16%   92.18%   +0.02%     
==========================================
  Files         169      169              
  Lines       50769    50810      +41     
==========================================
+ Hits        46791    46839      +48     
+ Misses       3978     3971       -7
```

| Flag | Coverage Δ | |
|---|---|---|
| #multiple | `90.6% <ø> (+0.02%)` | :arrow_up: |
| #single | `42.37% <ø> (+0.05%)` | :arrow_up: |

| [Impacted Files](https://codecov.io/gh/pandas-dev/pandas/pull/22756?src=pr&el=tree) | Coverage Δ | |
|---|---|---|
| [pandas/core/dtypes/base.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZHR5cGVzL2Jhc2UucHk=) | `100% <0%> (ø)` | :arrow_up: |
| [pandas/core/generic.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZ2VuZXJpYy5weQ==) | `96.67% <0%> (ø)` | :arrow_up: |
| [pandas/util/testing.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL3V0aWwvdGVzdGluZy5weQ==) | `86.03% <0%> (ø)` | :arrow_up: |
| [pandas/core/frame.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZnJhbWUucHk=) | `97.2% <0%> (ø)` | :arrow_up: |
| [pandas/core/indexes/multi.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvaW5kZXhlcy9tdWx0aS5weQ==) | `95.45% <0%> (ø)` | :arrow_up: |
| [pandas/io/formats/excel.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2lvL2Zvcm1hdHMvZXhjZWwucHk=) | `97.4% <0%> (ø)` | :arrow_up: |
| [pandas/core/arrays/categorical.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2NhdGVnb3JpY2FsLnB5) | `95.75% <0%> (+0.01%)` | :arrow_up: |
| [pandas/core/base.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYmFzZS5weQ==) | `97.61% <0%> (+0.01%)` | :arrow_up: |
| [pandas/core/arrays/datetimelike.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvYXJyYXlzL2RhdGV0aW1lbGlrZS5weQ==) | `95.53% <0%> (+0.02%)` | :arrow_up: |
| [pandas/core/dtypes/dtypes.py](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree#diff-cGFuZGFzL2NvcmUvZHR5cGVzL2R0eXBlcy5weQ==) | `96.11% <0%> (+0.03%)` | :arrow_up: |
| ... and [5 more](https://codecov.io/gh/pandas-dev/pandas/pull/22756/diff?src=pr&el=tree-more) | |

------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/22756?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/22756?src=pr&el=footer). Last update [1a12c41...2711fda](https://codecov.io/gh/pandas-dev/pandas/pull/22756?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 thanks @Anjali2019 