STINNER Victor added the comment: The test:
def test_dealloc_warn(self): ss = ssl.wrap_socket(socket.socket(socket.AF_INET)) r = repr(ss) with self.assertWarns(ResourceWarning) as cm: ss = None support.gc_collect() <~~~~~ SIGBUG occurred here self.assertIn(r, str(cm.warning.args[0])) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26815> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com