@@ -235,7 +235,7 @@ def test_multiple_channels(self, dtype, num_channels):
235235 @parameterized .expand (list (itertools .product (
236236 [8000 , 16000 ],
237237 [1 , 2 ],
238- [- 4.2 , - 0.2 , 0 , 0.2 , 96 , 128 , 160 , 192 , 224 , 256 , 320 ],
238+ [None , - 4.2 , - 0.2 , 0 , 0.2 , 96 , 128 , 160 , 192 , 224 , 256 , 320 ],
239239 )), name_func = name_func )
240240 def test_mp3 (self , sample_rate , num_channels , bit_rate ):
241241 """`sox_io_backend.save` can save mp3 format."""
@@ -254,7 +254,7 @@ def test_mp3_large(self, sample_rate, num_channels, bit_rate):
254254 @parameterized .expand (list (itertools .product (
255255 [8000 , 16000 ],
256256 [1 , 2 ],
257- list (range (9 )),
257+ [ None ] + list (range (9 )),
258258 )), name_func = name_func )
259259 def test_flac (self , sample_rate , num_channels , compression_level ):
260260 """`sox_io_backend.save` can save flac format."""
@@ -273,7 +273,7 @@ def test_flac_large(self, sample_rate, num_channels, compression_level):
273273 @parameterized .expand (list (itertools .product (
274274 [8000 , 16000 ],
275275 [1 , 2 ],
276- [- 1 , 0 , 1 , 2 , 3 , 3.6 , 5 , 10 ],
276+ [None , - 1 , 0 , 1 , 2 , 3 , 3.6 , 5 , 10 ],
277277 )), name_func = name_func )
278278 def test_vorbis (self , sample_rate , num_channels , quality_level ):
279279 """`sox_io_backend.save` can save vorbis format."""
0 commit comments