1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-06-30 11:02:54 -05:00

Add support for single-test tox runs

Use a sintax like
    tox test.test_download:TestDownload.test_NowVideo
to run the specific test on all the tox environments (Python versions)
This commit is contained in:
Filippo Valsorda
2013-10-12 13:17:11 -04:00
parent f5e54a1fda
commit d3f46b9aa5
9 changed files with 13 additions and 10 deletions

View File

@ -8,7 +8,7 @@ import os
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from youtube_dl import YoutubeDL
from helper import try_rm
from .helper import try_rm
def _download_restricted(url, filename, age):