TST: add error message match for raise in test_datetimelike.py GH30999 (#37952)
TST: add error message match for raise in test_datetimelike.py GH30999 (#37952)

* TST: add error message match for raise in test_datetimelike.py GH30999

* fix missing space at the end of error msg

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