Update test_ticks.py
- [x] closes #24700
- [x] tests added / passed
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
 

thanks! ping on green. I didn't get the "ping on green" , Do I need to click on somewhere ?  # [Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24701?src=pr&el=h1) Report
> Merging [#24701](https://codecov.io/gh/pandas-dev/pandas/pull/24701?src=pr&el=desc) into [master](https://codecov.io/gh/pandas-dev/pandas/commit/3f1e5940e3929577f094ea2708f94ee184e7a336?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/24701/graphs/tree.svg?width=650&token=eZ4WkYLtcO&height=150&src=pr)](https://codecov.io/gh/pandas-dev/pandas/pull/24701?src=pr&el=tree)

```diff
@@           Coverage Diff           @@
##           master   #24701   +/-   ##
=======================================
  Coverage   92.38%   92.38%           
=======================================
  Files         166      166           
  Lines       52310    52310           
=======================================
  Hits        48327    48327           
  Misses       3983     3983
```

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


------

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

```diff
@@           Coverage Diff           @@
##           master   #24701   +/-   ##
=======================================
  Coverage   92.38%   92.38%           
=======================================
  Files         166      166           
  Lines       52310    52310           
=======================================
  Hits        48327    48327           
  Misses       3983     3983
```

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


------

[Continue to review full report at Codecov](https://codecov.io/gh/pandas-dev/pandas/pull/24701?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/24701?src=pr&el=footer). Last update [3f1e594...286c331](https://codecov.io/gh/pandas-dev/pandas/pull/24701?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
 @jreback can you please merge this ?  thanks @rajibmitra 