aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/helper.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-03-17 14:30:13 +0100
committerPhilipp Hagemeister <[email protected]>2014-03-17 14:30:13 +0100
commitff14fc496401b3318339e108f3db2825622c44c3 (patch)
tree15e8ab1364183696ee2ca93ac4467b3e0c12de34 /test/helper.py
parente125c215318d6bac1e96b0177ccd62660b16884c (diff)
downloadyoutube-dl-ff14fc496401b3318339e108f3db2825622c44c3.tar.gz
youtube-dl-ff14fc496401b3318339e108f3db2825622c44c3.zip
[test] Rename get_testcases to gettestcases
Apparently, newer versions of nosetests are somewhat over-eager in their test discovery.
Diffstat (limited to 'test/helper.py')
-rw-r--r--test/helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py
index b1f421ac5..17de951c5 100644
--- a/test/helper.py
+++ b/test/helper.py
@@ -71,7 +71,7 @@ class FakeYDL(YoutubeDL):
old_report_warning(message)
self.report_warning = types.MethodType(report_warning, self)
-def get_testcases():
+def gettestcases():
for ie in youtube_dl.extractor.gen_extractors():
t = getattr(ie, '_TEST', None)
if t: