The following expression fails to call the Python script with the argument passed in. Instead it calls the function without the argument 34.
runScript("shared.motors.getMotorStatus(34)")
The way to get around the problem is to use the pollRate argument with runScript. For some reason this version of runScript works when passing arguments to functions.
runScript("shared.motors.getMotorStatus(34)",-1)
Note that it makes no sense to use the pollRate argument in runScript when used in an expression tag because the scan class will override it, but the pollRate argument must be used because otherwise arguments are not passed to functions.