From cd0d7f53b3ab7dfac7a3477751a87586d4da3782 Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 14 Nov 2023 17:31:08 +0100 Subject: [PATCH] MINOR: [Python] Fix name of new keyword in the concat_tables future warning (#38710) We renamed the new keyword in a final iteration of the PR, but apparently forgot to update the warning message. Authored-by: Joris Van den Bossche Signed-off-by: Joris Van den Bossche --- python/pyarrow/table.pxi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/pyarrow/table.pxi b/python/pyarrow/table.pxi index bbf60416de995..e55a0d1dd54cb 100644 --- a/python/pyarrow/table.pxi +++ b/python/pyarrow/table.pxi @@ -5226,7 +5226,8 @@ def concat_tables(tables, MemoryPool memory_pool=None, str promote_options="none if "promote" in kwargs: warnings.warn( - "promote has been superseded by mode='default'.", FutureWarning, stacklevel=2) + "promote has been superseded by promote_options='default'.", + FutureWarning, stacklevel=2) if kwargs['promote'] is True: promote_options = "default"