gh-94052: Don't re-run failed tests with --python option (GH-94054)

(cherry picked from commit 0ff7b996f5d836e63cdaf652c7aa734285261096)

Co-authored-by: Christian Heimes <christian@python.org>
3 files changed