TST: Set timeoffset as the window parameter (#37407)
TST: Set timeoffset as the window parameter (#37407)

* test added

* pep8 resolved

* fixes
rs2/pandas,jreback/pandas,datapythonista/pandas,gfyoung/pandas,jreback/pandas,jorisvandenbossche/pandas,dsm054/pandas,jreback/pandas,jorisvandenbossche/pandas,rs2/pandas,datapythonista/pandas,pandas-dev/pandas,dsm054/pandas,datapythonista/pandas,dsm054/pandas,pandas-dev/pandas,jorisvandenbossche/pandas,jreback/pandas,datapythonista/pandas,pandas-dev/pandas,gfyoung/pandas,rs2/pandas,dsm054/pandas,gfyoung/pandas,gfyoung/pandas,jreback/pandas,pandas-dev/pandas,rs2/pandas,gfyoung/pandas,jorisvandenbossche/pandas,dsm054/pandas