Download venv/lib/python3.12/site-packages/joblib/test/test_numpy_pickle_utils.py from anonymous-CAP/cap-hatespeech: direct link, hf CLI and curl.
- Browser
- Download file 382 Bytes
-
https://huggingface.co/anonymous-CAP/cap-hatespeech/resolve/main/venv/lib/python3.12/site-packages/joblib/test/test_numpy_pickle_utils.py
- Command line
-
hf download hf://anonymous-CAP/cap-hatespeech/venv/lib/python3.12/site-packages/joblib/test/test_numpy_pickle_utils.py
-
curl -L -o test_numpy_pickle_utils.py https://huggingface.co/anonymous-CAP/cap-hatespeech/resolve/main/venv/lib/python3.12/site-packages/joblib/test/test_numpy_pickle_utils.py
382 Bytes
| from joblib.compressor import BinaryZlibFile | |
| from joblib.testing import parametrize | |
| # 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() | |