test in pypy and use python logger replace with custom print