def test_getMPRemainingData(self):
        """
        When more data than needed is sent to L{common.getMP}, it should return
        the remaining data.
        """
        self.assertEqual(
            self.getMP(b'\x00\x00\x00\x04\x00\x00\x00\x01foo'),
            (1, b'foo'))

        When more data than needed is sent to L{common.getMP}, it should return
        the remaining data.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_ssh.py