Move pytest config into pyproject.toml and modernize.
Review Request #14793 — Created Jan. 29, 2026 and updated — Latest diff uploaded
Now that we're on Pytest 9+, we can put its configuration into
pyproject.tomlinstead ofsetup.cfg. Along with this, there's a
bunch of warnings that we no longer need to ignore.
Ran unit tests.