TST closes #28980 Certain comparison operations misbehaving for period dtype
I've added test to compare `pd.Series([...], dtype="period[A-DEC]")`  to dtype `str`, `bool`, `int`, `float` and `None`.

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

Looks pretty good, can you modify the description with "closes" in front of the issue number so that it'll be closed automatically when this is merged? > can you modify the description with "closes" in front of the issue number

@OlivierLuG I meant the description of the PR (where you have the bulleted list) rather than the PR title Hello, If you think this is correct, I can pull a new request to close #28981, which test about the same tests ? thanks