def test_NPNAndALPNNoAdvertise(self):
        """
        When one peer does not advertise any protocols, the connection is set
        up with no next protocol.
        """
        protocols = [b'h2', b'http/1.1']
        negotiatedProtocol, lostReason = negotiateProtocol(
            clientProtocols=protocols,
            serverProtocols=[],
        )
        self.assertIsNone(negotiatedProtocol)
        self.assertIsNone(lostReason)

        When one peer does not advertise any protocols, the connection is set
        up with no next protocol.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_sslverify.py