def setUp(self):
        """
        Same as L{OpenSSLOptionsTestsMixin.setUp}, but it also patches
        L{sslverify._ChooseDiffieHellmanEllipticCurve}.
        """
        super(OpenSSLOptionsTests, self).setUp()
        self.patch(sslverify, "_ChooseDiffieHellmanEllipticCurve",
                   FakeChooseDiffieHellmanEllipticCurve)

        Same as L{OpenSSLOptionsTestsMixin.setUp}, but it also patches
        L{sslverify._ChooseDiffieHellmanEllipticCurve}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/test/test_sslverify.py