[issue26620] Fix ResourceWarning warnings in test_urllib2_localnet

Martin Panter report at bugs.python.org
Thu Mar 24 20:42:08 EDT 2016


Martin Panter added the comment:

This handling of KeyboardInterrupt seems like a bug with unittest IMO. But personally I don’t spend too much thought or code handling KeyboardInterrupt in tests, for similar reasons to not doing special handling of test failures in Issue 26612.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26620>
_______________________________________


More information about the Python-bugs-list mailing list