def test_set_options_wrong_args(self):
        context = Context(TLSv1_METHOD)
        self.assertRaises(TypeError, context.set_options)
        self.assertRaises(TypeError, context.set_options, None)
        self.assertRaises(TypeError, context.set_options, 1, None)
Closes socket and terminates context
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ContextTests.test_set_options_wrong_args--crossover with--dataset/ETHPy150Open SmokinCaterpillar/pypet/pypet/utils/mpwrappers.py/ReliableClient.finalize