def test_missingSSL(self):
        """
        If C{getContext} is called and SSL is not available, raise
        L{NotImplementedError}.
        """
        self.assertRaises(
            NotImplementedError,
            self.webClientContextFactory().getContext,
            b'example.com', 443,
        )

        If C{getContext} is called and SSL is not available, raise
        L{NotImplementedError}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_agent.py