[Python-Dev] regression tests with regrtest.py -r (original) (raw)

Fred L. Drake, Jr. fdrake@acm.org
Sat, 15 Dec 2001 13:46:16 -0500


Guido van Rossum writes:

I've found the cause: test_scope.py contains a call to warnings.resetwarnings(), which removes all warning filters, not just those made by the calling module. Because of the way

This is the danger of running the tests the way we do (all in one process), but that also makes us be more careful with the tests. I'll have to run with -r more often!

-Fred

-- Fred L. Drake, Jr. PythonLabs at Zope Corporation