ProgramComputer commited on
Commit
74bf682
1 Parent(s): 6d20e86

Update test.py

Browse files
Files changed (1) hide show
  1. test.py +5 -4
test.py CHANGED
@@ -285,8 +285,8 @@ class Test(datasets.GeneratorBasedBuilder):
285
  for target in targets
286
  )
287
  )
288
- mapped_paths = dl_manager.download_and_extract( dict(
289
- (
290
  placeholder_key,
291
  dict(
292
  (target, _URLS[target][placeholder_key])
@@ -294,9 +294,10 @@ class Test(datasets.GeneratorBasedBuilder):
294
  ),
295
  )
296
  for placeholder_key in ("placeholder","test")
297
- ))
 
298
 
299
- print(mapped_paths)
300
 
301
  # tmp_paths = dl_manager.extract_and_download(
302
 
 
285
  for target in targets
286
  )
287
  )
288
+ mapped_paths = dl_manager.extract( dl_manager.custom_download(
289
+ dict( (
290
  placeholder_key,
291
  dict(
292
  (target, _URLS[target][placeholder_key])
 
294
  ),
295
  )
296
  for placeholder_key in ("placeholder","test")
297
+ )
298
+ ))
299
 
300
+ raise Exception(mapped_paths)
301
 
302
  # tmp_paths = dl_manager.extract_and_download(
303