File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -529,9 +529,10 @@ def test_read_json_compressed(ctx, tmp_path):
529529    # File compression type 
530530    gzip_path  =  tmp_path  /  "data.json.gz" 
531531
532-     with  pathlib .Path .open (test_data_path , "rb" ) as  csv_file , gzip .open (
533-         gzip_path , "wb" 
534-     ) as  gzipped_file :
532+     with  (
533+         pathlib .Path .open (test_data_path , "rb" ) as  csv_file ,
534+         gzip .open (gzip_path , "wb" ) as  gzipped_file ,
535+     ):
535536        gzipped_file .writelines (csv_file )
536537
537538    df  =  ctx .read_json (gzip_path , file_extension = ".gz" , file_compression_type = "gz" )
@@ -568,9 +569,10 @@ def test_read_csv_compressed(ctx, tmp_path):
568569    # File compression type 
569570    gzip_path  =  tmp_path  /  "aggregate_test_100.csv.gz" 
570571
571-     with  pathlib .Path .open (test_data_path , "rb" ) as  csv_file , gzip .open (
572-         gzip_path , "wb" 
573-     ) as  gzipped_file :
572+     with  (
573+         pathlib .Path .open (test_data_path , "rb" ) as  csv_file ,
574+         gzip .open (gzip_path , "wb" ) as  gzipped_file ,
575+     ):
574576        gzipped_file .writelines (csv_file )
575577
576578    csv_df  =  ctx .read_csv (gzip_path , file_extension = ".gz" , file_compression_type = "gz" )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments