Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
admin
/
installer
/
css
/
sass
/
sym404
/
root
/
usr
/
local
/
lib
/
python3.6
/
site-packages
/
joblib
/
test
:
test_numpy_pickle_utils.py
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
from joblib import numpy_pickle_utils from joblib.compressor import BinaryZlibFile from joblib.testing import parametrize @parametrize('filename', ['test', u'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()