Skip to content

A feature-rich command-line audio/video downloader

[Makefile] Allow specifying the Python version in offline tests

Yen Chi Hsuan1b0635aba3de
diff --git a/Makefile b/Makefile
index afd7f40328..e988067913 100644
--- a/Makefile
+++ b/Makefile
@@ -45,7 +45,7 @@ test:
ot: offlinetest
offlinetest: codetest
- nosetests --verbose test --exclude test_download.py --exclude test_age_restriction.py --exclude test_subtitles.py --exclude test_write_annotations.py --exclude test_youtube_lists.py --exclude test_iqiyi_sdk_interpreter.py
+ $(PYTHON) -m nose --verbose test --exclude test_download.py --exclude test_age_restriction.py --exclude test_subtitles.py --exclude test_write_annotations.py --exclude test_youtube_lists.py --exclude test_iqiyi_sdk_interpreter.py
tar: youtube-dl.tar.gz