modify invalid syntax of cocos-console-test.py.

modify invalid syntax of cocos-console-test.py.