@@ -77,7 +77,7 @@ def test_orc():
77
77
check (assert_type (DF .to_orc (path ), None ), type (None ))
78
78
with pytest_warns_bounded (
79
79
DeprecationWarning ,
80
- "Passing a BlockManager to DataFrame is deprecated " ,
80
+ "make_block is deprecated and will be removed " ,
81
81
lower = "2.1.99" ,
82
82
):
83
83
check (assert_type (read_orc (path ), DataFrame ), DataFrame )
@@ -90,7 +90,7 @@ def test_orc_path():
90
90
check (assert_type (DF .to_orc (pathlib_path ), None ), type (None ))
91
91
with pytest_warns_bounded (
92
92
DeprecationWarning ,
93
- "Passing a BlockManager to DataFrame is deprecated " ,
93
+ "make_block is deprecated and will be removed " ,
94
94
lower = "2.1.99" ,
95
95
):
96
96
check (assert_type (read_orc (pathlib_path ), DataFrame ), DataFrame )
@@ -105,7 +105,7 @@ def test_orc_buffer():
105
105
with open (path , "rb" ) as file_r :
106
106
with pytest_warns_bounded (
107
107
DeprecationWarning ,
108
- "Passing a BlockManager to DataFrame is deprecated " ,
108
+ "make_block is deprecated and will be removed " ,
109
109
lower = "2.1.99" ,
110
110
):
111
111
check (assert_type (read_orc (file_r ), DataFrame ), DataFrame )
@@ -117,7 +117,7 @@ def test_orc_columns():
117
117
check (assert_type (DF .to_orc (path , index = False ), None ), type (None ))
118
118
with pytest_warns_bounded (
119
119
DeprecationWarning ,
120
- "Passing a BlockManager to DataFrame is deprecated " ,
120
+ "make_block is deprecated and will be removed " ,
121
121
lower = "2.1.99" ,
122
122
):
123
123
check (assert_type (read_orc (path , columns = ["a" ]), DataFrame ), DataFrame )
@@ -555,7 +555,7 @@ def test_parquet():
555
555
check (assert_type (DF .to_parquet (), bytes ), bytes )
556
556
with pytest_warns_bounded (
557
557
DeprecationWarning ,
558
- "Passing a BlockManager to DataFrame is deprecated " ,
558
+ "make_block is deprecated and will be removed " ,
559
559
lower = "2.1.99" ,
560
560
):
561
561
check (assert_type (read_parquet (path ), DataFrame ), DataFrame )
@@ -569,7 +569,7 @@ def test_parquet_options():
569
569
)
570
570
with pytest_warns_bounded (
571
571
DeprecationWarning ,
572
- "Passing a BlockManager to DataFrame is deprecated " ,
572
+ "make_block is deprecated and will be removed " ,
573
573
lower = "2.1.99" ,
574
574
):
575
575
check (assert_type (read_parquet (path ), DataFrame ), DataFrame )
@@ -580,7 +580,7 @@ def test_feather():
580
580
check (assert_type (DF .to_feather (path ), None ), type (None ))
581
581
with pytest_warns_bounded (
582
582
DeprecationWarning ,
583
- "Passing a BlockManager to DataFrame is deprecated " ,
583
+ "make_block is deprecated and will be removed " ,
584
584
lower = "2.1.99" ,
585
585
):
586
586
check (assert_type (read_feather (path ), DataFrame ), DataFrame )
@@ -590,7 +590,7 @@ def test_feather():
590
590
bio .seek (0 )
591
591
with pytest_warns_bounded (
592
592
DeprecationWarning ,
593
- "Passing a BlockManager to DataFrame is deprecated " ,
593
+ "make_block is deprecated and will be removed " ,
594
594
lower = "2.1.99" ,
595
595
):
596
596
check (assert_type (read_feather (bio ), DataFrame ), DataFrame )
@@ -1437,7 +1437,7 @@ def test_all_read_without_lxml_dtype_backend() -> None:
1437
1437
check (assert_type (DF .to_orc (path ), None ), type (None ))
1438
1438
with pytest_warns_bounded (
1439
1439
DeprecationWarning ,
1440
- "Passing a BlockManager to DataFrame is deprecated " ,
1440
+ "make_block is deprecated and will be removed " ,
1441
1441
lower = "2.1.99" ,
1442
1442
):
1443
1443
check (
@@ -1449,7 +1449,7 @@ def test_all_read_without_lxml_dtype_backend() -> None:
1449
1449
check (assert_type (DF .to_feather (path ), None ), type (None ))
1450
1450
with pytest_warns_bounded (
1451
1451
DeprecationWarning ,
1452
- "Passing a BlockManager to DataFrame is deprecated " ,
1452
+ "make_block is deprecated and will be removed " ,
1453
1453
lower = "2.1.99" ,
1454
1454
):
1455
1455
check (
0 commit comments