ProgramComputer
commited on
Commit
•
8ba22de
1
Parent(s):
6e46578
Update test.py
Browse files
test.py
CHANGED
@@ -274,7 +274,7 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
274 |
for tmp_path in tmp_paths:
|
275 |
with open(tmp_path, "rb") as tmp:
|
276 |
copyfileobj(tmp, out)
|
277 |
-
|
278 |
|
279 |
metadata = dl_manager.download(
|
280 |
dict(
|
@@ -304,7 +304,6 @@ class Test(datasets.GeneratorBasedBuilder):
|
|
304 |
for tmp_path in value[1:]:
|
305 |
with open(tmp_path, "rb") as tmp:
|
306 |
copyfileobj(tmp, out)
|
307 |
-
tmp_path.unlink()
|
308 |
raise Exception("HELLO")
|
309 |
mapped_paths = mapped_paths.append(dl_manager.extract( dl_manager.download(
|
310 |
dict( (
|
|
|
274 |
for tmp_path in tmp_paths:
|
275 |
with open(tmp_path, "rb") as tmp:
|
276 |
copyfileobj(tmp, out)
|
277 |
+
tmp_path.unlink()
|
278 |
|
279 |
metadata = dl_manager.download(
|
280 |
dict(
|
|
|
304 |
for tmp_path in value[1:]:
|
305 |
with open(tmp_path, "rb") as tmp:
|
306 |
copyfileobj(tmp, out)
|
|
|
307 |
raise Exception("HELLO")
|
308 |
mapped_paths = mapped_paths.append(dl_manager.extract( dl_manager.download(
|
309 |
dict( (
|