replace know_failures.txt with know_failures.py
fix doctest in event.py on pypy
greentest.py: fix walk_modules on pypy