From e5bf77396ee1d63a1c88ed143caed8550d75093f Mon Sep 17 00:00:00 2001 From: Dane Pitkin Date: Fri, 23 Aug 2024 21:14:06 +0000 Subject: [PATCH] Lint --- python/pyarrow/table.pxi | 1 - python/pyarrow/tests/test_table.py | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/python/pyarrow/table.pxi b/python/pyarrow/table.pxi index 4c045d52ec993..fdd3de28aa9e9 100644 --- a/python/pyarrow/table.pxi +++ b/python/pyarrow/table.pxi @@ -1447,7 +1447,6 @@ cdef class ChunkedArray(_PandasConvertible): raise NotImplementedError("Implemented only for data on CPU device") - def chunked_array(arrays, type=None): """ Construct chunked array from list of array-like objects diff --git a/python/pyarrow/tests/test_table.py b/python/pyarrow/tests/test_table.py index 16fb7a1abde72..23628cc3890da 100644 --- a/python/pyarrow/tests/test_table.py +++ b/python/pyarrow/tests/test_table.py @@ -3359,7 +3359,6 @@ def test_invalid_non_join_column(): assert exp_error_msg in str(excinfo.value) - @pytest.fixture def cuda_context(): cuda = pytest.importorskip("pyarrow.cuda") @@ -3432,7 +3431,7 @@ def test_chunked_array_non_cpu(cuda_context, cpu_chunked_array, cuda_chunked_arr # get_total_buffer_size() test assert (cpu_and_cuda_chunked_array.get_total_buffer_size() == - (cuda_chunked_array.get_total_buffer_size() + + (cuda_chunked_array.get_total_buffer_size() + cpu_chunked_array.get_total_buffer_size())) # getitem() test