diff options
author | Philipp Hagemeister <[email protected]> | 2014-04-21 07:56:51 +0200 |
---|---|---|
committer | Philipp Hagemeister <[email protected]> | 2014-04-21 07:56:51 +0200 |
commit | b9ba5dfa28baa4541016b49eadf74d731dc8936c (patch) | |
tree | d37433dea21c5dd7c5b3e88cd89b227865b72fd6 | |
parent | 4086f119292ab1d5deab38ece163322e1011eba0 (diff) | |
download | youtube-dl-b9ba5dfa28baa4541016b49eadf74d731dc8936c.tar.gz youtube-dl-b9ba5dfa28baa4541016b49eadf74d731dc8936c.zip |
[test helper] Correct only_matching test gathering
-rw-r--r-- | test/helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/helper.py b/test/helper.py index 09873aea3..da714078d 100644 --- a/test/helper.py +++ b/test/helper.py @@ -85,7 +85,7 @@ def gettestcases(include_onlymatching=False): else: tests = getattr(ie, '_TESTS', []) for t in tests: - if not include_onlymatching and getattr(t, 'only_matching', False): + if not include_onlymatching and t.get('only_matching', False): continue t['name'] = type(ie).__name__[:-len('IE')] yield t |