@@ -43,7 +43,6 @@ def test_basic_with_index(lmdb_version_store_arrow):
4343
4444def test_basic_small_slices (in_memory_version_store_tiny_segment_arrow ):
4545 lib = in_memory_version_store_tiny_segment_arrow
46- lib .set_output_format (OutputFormat .PYARROW )
4746 df = pd .DataFrame ({"x" : np .arange (10 )})
4847 lib .write ("arrow" , df )
4948 table = lib .read ("arrow" ).data
@@ -52,7 +51,6 @@ def test_basic_small_slices(in_memory_version_store_tiny_segment_arrow):
5251
5352def test_basic_small_slices_with_index (in_memory_version_store_tiny_segment_arrow ):
5453 lib = in_memory_version_store_tiny_segment_arrow
55- lib .set_output_format (OutputFormat .PYARROW )
5654 df = pd .DataFrame ({"x" : np .arange (10 )}, index = pd .date_range (pd .Timestamp (0 ), periods = 10 ))
5755 lib .write ("arrow" , df )
5856 table = lib .read ("arrow" ).data
@@ -149,7 +147,6 @@ def test_strings_basic(in_memory_version_store_arrow, dynamic_strings, any_arrow
149147@pytest .mark .parametrize ("row_range" , [None , (2 , 3 ), (2 , 4 ), (2 , 5 ), (2 , 6 ), (3 , 4 ), (3 , 5 ), (3 , 6 )])
150148def test_strings_with_nones_and_nans (in_memory_version_store_tiny_segment_arrow , row_range , any_arrow_string_format ):
151149 lib = in_memory_version_store_tiny_segment_arrow
152- lib .set_output_format (OutputFormat .PYARROW )
153150 lib .set_arrow_string_format_default (any_arrow_string_format )
154151 # in_memory_version_store_tiny_segment_arrow has 2 rows per segment
155152 # This column is constructed so that every 2-element permutation of strings, Nones, and NaNs are tested
@@ -186,7 +183,6 @@ def test_strings_with_nones_and_nans(in_memory_version_store_tiny_segment_arrow,
186183@pytest .mark .xfail (reason = "NaT values in datetime columns are not converted to Arrow nulls (monday ref: 11525537906)" )
187184def test_datetime_col_with_nats (in_memory_version_store_tiny_segment_arrow ):
188185 lib = in_memory_version_store_tiny_segment_arrow
189- lib .set_output_format (OutputFormat .PYARROW )
190186 df = pd .DataFrame (
191187 {
192188 "x" : pd .to_datetime (
@@ -264,7 +260,6 @@ def test_strings_multiple_segments_and_columns(
264260 in_memory_version_store_tiny_segment_arrow , dynamic_strings , any_arrow_string_format
265261):
266262 lib = in_memory_version_store_tiny_segment_arrow
267- lib .set_output_format (OutputFormat .PYARROW )
268263 lib .set_arrow_string_format_default (any_arrow_string_format )
269264 df = pd .DataFrame (
270265 {
@@ -331,7 +326,6 @@ def test_date_range_corner_cases(in_memory_store_factory, date_range_start, date
331326)
332327def test_date_range_between_index_values (in_memory_version_store_tiny_segment_arrow ):
333328 lib = in_memory_version_store_tiny_segment_arrow
334- lib .set_output_format (OutputFormat .PYARROW )
335329 df = pd .DataFrame (
336330 data = {
337331 "col1" : np .arange (2 ),
@@ -672,7 +666,6 @@ def test_with_querybuilder(in_memory_version_store_arrow):
672666
673667def test_arrow_layout (in_memory_version_store_tiny_segment_arrow ):
674668 lib = in_memory_version_store_tiny_segment_arrow
675- lib .set_output_format (OutputFormat .PYARROW )
676669 lib_tool = lib .library_tool ()
677670 num_rows = 100
678671 df = pd .DataFrame (
@@ -1025,7 +1018,6 @@ def test_arrow_dynamic_schema_filtered_column(in_memory_version_store_dynamic_sc
10251018
10261019def test_project_dynamic_schema (in_memory_version_store_dynamic_schema_arrow ):
10271020 lib = in_memory_version_store_dynamic_schema_arrow
1028- lib .set_output_format (OutputFormat .PYARROW )
10291021 sym = "sym"
10301022 table_1 = pa .table ({"a" : pa .array ([1 , 2 ])})
10311023 table_2 = pa .table ({"a" : pa .array ([3 , 4 ]), "b" : pa .array ([1 , 2 ])})
0 commit comments