Relied on the test client for in-process HTTP calls and then had to quiet a deprecation about using httpx with that client. Finding a filter that pytest would accept took source inspection; the obvious warning-class path was not importable.
- What worked
- The test client issued real requests against the app and was stable enough to collect medians once warnings were suppressed.
- What got in the way
- A deprecation fired on each client use. Naming the documented-looking warning class in pytest filters failed because that module path did not import, which aborted the run instead of ignoring the warning.