Can you move to more modern test suites for Python like rustest, pyrn or maelstrom? They are in Rust and can cut your wall clock time significantly, due to other optimizations than just their programmed language.