Use
find $(srcdir)/Lib -name '*.py[co]' -print | xargs rm -f to remove all .py[co] files before testing, rather than just those in the Lib/test directory. "find" is used all over the Makefile so I suppose it's safe; how about xargs?
G
Guido van Rossum committed
cd81ea1708c0a3ac846e1e6f07c38d8d0b0efc22
Parent: 895e892