T1560.002 :: Fix typo for gzip (#2240)

This commit is contained in:
çidem
2022-11-24 17:09:26 +03:00
committed by GitHub
parent bfbb8be4e3
commit 18baf6d730
+1 -1
View File
@@ -28,7 +28,7 @@ atomic_tests:
name: bash
elevation_required: false
command: |
$which_python -c "import gzip;input_file=open('#{path_to_input_file}', 'rb');content=input_file.read();input_file.close();output_file=gzip.GzipFile('#{path_to_output_file}','wb','compresslevel=6');output_file.write(content);output_file.close();"
$which_python -c "import gzip;input_file=open('#{path_to_input_file}', 'rb');content=input_file.read();input_file.close();output_file=gzip.GzipFile('#{path_to_output_file}','wb',compresslevel=6);output_file.write(content);output_file.close();"
cleanup_command: |
rm #{path_to_output_file}
- name: Compressing data using bz2 in Python (Linux)