fix for pypy tests