Berker Peksag added the comment: + self.assertTrue(socket.SocketType is _socket.socket)
You can use assertIs instead of assertTrue. ---------- nosy: +berker.peksag versions: +Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20386> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com