def test_wrong_args(self):
        connection = Connection(Context(TLSv1_METHOD), None)
        self.assertRaises(TypeError, connection.send)
        self.assertRaises(TypeError, connection.send, object())
        self.assertRaises(TypeError, connection.send, "foo", object(), "bar")
Redirect to first links page.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/test/test_ssl.py/ConnectionSendTests.test_wrong_args--crossover with--dataset/ETHPy150Open mozillazg/bustard/tests/httpbin/core.py/links