R. David Murray added the comment: This is intentional behavior. In the general case, resource warnings *are* bugs, since not all Python implementations do automatic cleanup. This behavior should be controllable (I'm not even sure they *can* be turned on if python is not compiled in debug mode).
I don't see resource warnings mentioned in the TextTestRunner docs that mention the other warning controls. It also seems like perhaps there should be a way to control warnings from the unittest command line. So I'd say there are some improvements that can be made here, but the basic behavior is working as intended. ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20529> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com