mirror of
				https://github.com/ytdl-org/youtube-dl.git
				synced 2025-10-29 09:26:20 -07:00 
			
		
		
		
	[test helper] Correct only_matching test gathering
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user