@@ -72,7 +72,8 @@ def test_csv_write(path, compression):
7272 assert df .shape == df2 .shape == df3 .shape
7373
7474
75- @pytest .mark .parametrize ("compression" , ["gzip" , "bz2" , "xz" , "zip" , None ])
75+ # @pytest.mark.parametrize("compression", ["gzip", "bz2", "xz", "zip", None]) # Removed due a Pandas bug
76+ @pytest .mark .parametrize ("compression" , [None ])
7677def test_json (path , compression ):
7778 path_file = f"{ path } test.json{ EXT .get (compression , '' )} "
7879 df = pd .DataFrame ({"id" : [1 , 2 , 3 ]})
@@ -87,7 +88,8 @@ def test_json(path, compression):
8788
8889
8990@pytest .mark .parametrize ("chunksize" , [None , 1 ])
90- @pytest .mark .parametrize ("compression" , ["gzip" , "bz2" , "xz" , "zip" , None ])
91+ # @pytest.mark.parametrize("compression", ["gzip", "bz2", "xz", "zip", None]) # Removed due a Pandas bug
92+ @pytest .mark .parametrize ("compression" , [None ])
9193def test_partitioned_json (path , compression , chunksize ):
9294 df = pd .DataFrame ({"c0" : [0 , 1 ], "c1" : ["foo" , "boo" ]})
9395 paths = [f"{ path } year={ y } /month={ m } /0.json{ EXT .get (compression , '' )} " for y , m in [(2020 , 1 ), (2020 , 2 ), (2021 , 1 )]]
0 commit comments