def test_escapedControl(self):
        """
        IAC in the escaped state gets delivered and so does another
        application-data byte following it.
        """
        self._deliver(telnet.IAC)
        self._deliver(telnet.IAC + b'g', ('bytes', telnet.IAC + b'g'))

        IAC in the escaped state gets delivered and so does another
        application-data byte following it.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/test/test_telnet.py