Fix test_info_repr #21746
Fixes test that fails locally in py27 when run in a terminal window wider than 80 characters.

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

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

```diff
@@           Coverage Diff           @@
##           master   #22223   +/-   ##
=======================================
  Coverage   92.06%   92.06%           
=======================================
  Files         169      169           
  Lines       50694    50694           
=======================================
  Hits        46671    46671           
  Misses       4023     4023
```

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


------

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