tests: check command executed with -c do not use print function on PY2
follow up of 64088e8a (gpython: Don't inherit __future__ when executing scripts, 2020-11-26)
follow up of 64088e8a (gpython: Don't inherit __future__ when executing scripts, 2020-11-26)