Commit a56e72ce authored by Michal 'vorner' Vaner's avatar Michal 'vorner' Vaner
Browse files

Fix missing isInstance

parent 318dceaa
......@@ -1307,7 +1307,7 @@ class SocketSrvTest(unittest.TestCase):
# After we accepted, a new socket is added there
socket = self.__boss._unix_sockets[13][0]
# The socket is properly stored there
self.assertIsInstance(socket, self.__FalseSocket)
self.assertTrue(isinstance(socket, self.__FalseSocket))
# And the buffer (yet empty) is there
self.assertEqual({13: (socket, b'')}, self.__boss._unix_sockets)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment