about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-03-03 21:57:49 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-03-03 21:57:49 +0800
commit1b0635aba3ded1142ff3f2b1c4bd67fb0cb3d6ae (patch)
tree77838b16080c4e70239d48a3eebaf6a62e29e213 /Makefile
parent429491f531035f4fe9e958e6bf4108867107efec (diff)
downloadyoutube-dl-1b0635aba3ded1142ff3f2b1c4bd67fb0cb3d6ae.tar.gz
youtube-dl-1b0635aba3ded1142ff3f2b1c4bd67fb0cb3d6ae.tar.xz
youtube-dl-1b0635aba3ded1142ff3f2b1c4bd67fb0cb3d6ae.zip
[Makefile] Allow specifying the Python version in offline tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index afd7f4032..e98806791 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