From 7dc5032c8632d6575bc2b5113b9f390ba8413427 Mon Sep 17 00:00:00 2001 From: anjakefala Date: Wed, 25 Oct 2023 14:38:41 -0700 Subject: [PATCH] style: run linter --- python/pyarrow/tests/test_csv.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/python/pyarrow/tests/test_csv.py b/python/pyarrow/tests/test_csv.py index fbaf946aa2b2b..8fbd8db33a1d7 100644 --- a/python/pyarrow/tests/test_csv.py +++ b/python/pyarrow/tests/test_csv.py @@ -1938,7 +1938,7 @@ def test_write_quoting_style(): except Exception as e: # This will trigger when we try to write a comma (,) # without quotes, which is invalid - assert isinstance(e, res) + assert type(e) is res break assert buf.getvalue() == res buf.seek(0) @@ -1988,7 +1988,6 @@ def test_large_binary_write_to_csv(tmpdir, data_size): write_options = WriteOptions(include_header=True, batch_size=2048, delimiter='|') - write_csv(fixed_table, file_name, write_options=write_options) assert os.path.exists(file_name)