test code of python