Chris Jerdonek <chris.jerdo...@gmail.com> added the comment: That sounds fine. I just got the sense from above that there was a desire to call invalidate_caches() as few times as possible.
And yes, I agree only before is necessary. I had just taken what you said above literally (that "[the cache] should be reset by tests that change what's on the path"), thinking that you wanted to maintain the principle that tests should leave things as they were at the beginning. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7559> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com