mirror of
https://github.com/nathom/streamrip.git
synced 2025-05-23 19:47:08 -04:00
Formatting
This commit is contained in:
parent
1f3b24e5b7
commit
35c8932ffb
12 changed files with 151 additions and 363 deletions
|
@ -8,10 +8,7 @@ from streamrip.downloadtools import DownloadPool
|
|||
def test_downloadpool(tmpdir):
|
||||
start = time.perf_counter()
|
||||
with DownloadPool(
|
||||
(
|
||||
f"https://pokeapi.co/api/v2/pokemon/{number}"
|
||||
for number in range(1, 151)
|
||||
),
|
||||
(f"https://pokeapi.co/api/v2/pokemon/{number}" for number in range(1, 151)),
|
||||
tempdir=tmpdir,
|
||||
) as pool:
|
||||
pool.download()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue