Replace hardcoded python3 in pytest file: How to do this properly using the python macros?