For #22789, make python api follow tests do nothing if the server version is earlier than 5.2.