You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
382 B
10 lines
382 B
from joblib.compressor import BinaryZlibFile
|
|
from joblib.testing import parametrize
|
|
|
|
|
|
@parametrize("filename", ["test", "test"]) # testing str and unicode names
|
|
def test_binary_zlib_file(tmpdir, filename):
|
|
"""Testing creation of files depending on the type of the filenames."""
|
|
binary_file = BinaryZlibFile(tmpdir.join(filename).strpath, mode="wb")
|
|
binary_file.close()
|