Debian Codegraph @

debian/patches/parametrize-requires-tuples.patch

raw
1 Author: Diane Trout <[email protected]>
2 Description: Pytest complained that the number of arguments
3 for these tests did not match the number of paramters.
4 All of the pytest examples for using parametrize use tuples
5 for multiple arguments.
6
7 --- a/dask/dataframe/io/tests/test_parquet.py
8 +++ b/dask/dataframe/io/tests/test_parquet.py
9 @@ -1901,7 +1901,7 @@
10 )
11
12
13 [email protected]("compression,", [None, "gzip", "snappy"])
14 [email protected]("compression,", [(None,), ("gzip",), ("snappy",)])
15 def test_writing_parquet_with_compression(tmpdir, compression, engine):
16 fn = str(tmpdir)
17
18 @@ -1915,7 +1915,7 @@
19 check_compression(engine, fn, compression)
20
21
22 [email protected]("compression,", [None, "gzip", "snappy"])
23 [email protected]("compression,", [(None,), ("gzip",), ("snappy",)])
24 def test_writing_parquet_with_partition_on_and_compression(tmpdir, compression, engine):
25 fn = str(tmpdir)
26