Allowed Python executable names other than python in test from refs #24007.