Author: Diane Trout Description: Pytest complained that the number of arguments for these tests did not match the number of paramters. All of the pytest examples for using parametrize use tuples for multiple arguments. --- a/dask/dataframe/io/tests/test_parquet.py +++ b/dask/dataframe/io/tests/test_parquet.py @@ -1901,7 +1901,7 @@ ) -@pytest.mark.parametrize("compression,", [None, "gzip", "snappy"]) +@pytest.mark.parametrize("compression,", [(None,), ("gzip",), ("snappy",)]) def test_writing_parquet_with_compression(tmpdir, compression, engine): fn = str(tmpdir) @@ -1915,7 +1915,7 @@ check_compression(engine, fn, compression) -@pytest.mark.parametrize("compression,", [None, "gzip", "snappy"]) +@pytest.mark.parametrize("compression,", [(None,), ("gzip",), ("snappy",)]) def test_writing_parquet_with_partition_on_and_compression(tmpdir, compression, engine): fn = str(tmpdir)