From d0889525ee0a1dfff0cfc5a8a06054c7bead7607 Mon Sep 17 00:00:00 2001 From: laughingman7743 Date: Sun, 18 Oct 2026 10:14:54 +0900 Subject: [PATCH] Remove the AioPandasCursor arraysize and initial cancel tests #1258 added aio/test_common.py::TestWithAsyncFetch::test_cancel_without_query and kept AioPandasCursor in the uncapped and not-positive arraysize tests of test_connection.py, which set arraysize through the same setter as the removed tests. Refs #1244 Co-Authored-By: Claude Opus 5.5 --- tests/pyathena/aio/pandas/test_cursor.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/pyathena/aio/pandas/test_cursor.py b/tests/pyathena/aio/pandas/test_cursor.py index b38b399f3..a99a52538 100644 --- a/tests/pyathena/aio/pandas/test_cursor.py +++ b/tests/pyathena/aio/pandas/test_cursor.py @@ -64,16 +64,6 @@ async def test_no_result_set_raises(self, aio_pandas_cursor): with pytest.raises(ProgrammingError): aio_pandas_cursor.as_pandas() - async def test_invalid_arraysize(self, aio_pandas_cursor): - aio_pandas_cursor.arraysize = 10000 - assert aio_pandas_cursor.arraysize == 10000 - with pytest.raises(ProgrammingError): - aio_pandas_cursor.arraysize = -1 - - async def test_cancel_initial(self, aio_pandas_cursor): - with pytest.raises(ProgrammingError): - await aio_pandas_cursor.cancel() - @pytest.mark.parametrize( "aio_pandas_cursor", [{"cursor_kwargs": {"unload": True}}],