TST: parametrize test_info
- [ ] closes #xxxx
- [ ] tests added / passed
- [ ] passes `black pandas`
- [ ] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Precursor for #37320
- Parametrize tests
- Rename some of test functions

Can anyone suggest on dealing with pre-commit check?
It complains that I used non-standard imports. In particular I imported fixtures from ``pandas/conftest.py``.
Without this import the parametrization I used will not work (import error).
@jreback @jbrockmendel  I think we need to abandon the idea of using the indirect fixture parametrization > 
> 
> I think we need to abandon the idea of using the indirect fixture parametrization

So I should go ahead and split ``test_info_smoke_test`` into four different test functions (for ``int_frame``, ``float_frame``, ``datatime_frame`` and ``duplicate_columns_frame``)? Much like it was there before. bottom line i dont think this is worth futzing over all that much.  if you really want, you could try something like

```
@pytest.mark.parametrize("tmfunc", [tm.getSeriesData, tm.getTimeSeriesData, lambda: tm.getSeriesData()).astype("int64"),  duplicate_columns_frame]
def test_thing(tmfunc):
    frame = DataFrame(tmfunc())
    [...]
``` It's greenish. thanks @ivanovmg 