REF/TST: Add more pytest idiom to parsers tests by gfyoung · Pull Request #23761 · pandas-dev/pandas (original) (raw)

Adds more idiom to the following:

Builds off of #23712.

In the interest of keeping the diff somewhat manageable, I only modified these four (i.e. we can't get rid of test_parsers.py yet), so we're still in this weird intermediary state, but that's fine.