Antoine Pitrou <pit...@free.fr> added the comment: > I initially came across this because I got some warnings from > regrtest.py about changed state, when I was trying to implement a > TestSMTPServer class (derived from smtpd.SMTPServer) to test the > SMTPHandler in logging.
If you get a warning, it means your tests lack proper cleanup, so you should fix that instead of trying to make the warning disappear by circumventing regrtest's detection mechanism. ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11959> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com