def test_wrong_args(self):
    '\n        When called with arguments other than string argument for its first\n        parameter, `Connection.send` raises `TypeError`.\n        '
    connection = Connection(Context(TLSv1_METHOD), None)
    with pytest.raises(TypeError):
        connection.send(object())
When called with arguments other than string argument for its first
parameter, `Connection.send` raises `TypeError`.
def test_wrong_args(self):
    '\n        When called with arguments other than string argument for its first\n        parameter, `Connection.send` raises `TypeError`.\n        '
    connection = Connection(Context(TLSv1_METHOD), None)
    with pytest.raises(TypeError):
        connection.send(object())