def test_sendIgnore(self):
        """
        Test that ignored messages are sent correctly.  Payload::
            string ignored data
        """
        self.proto.sendIgnore(b"test")
        self.assertEqual(
            self.packets, [(transport.MSG_IGNORE,
                            b'\x00\x00\x00\x04test')])

        Test that ignored messages are sent correctly.  Payload::
            string ignored data
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_transport.py