mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	Simplify test parameter initialization
This commit is contained in:
		| @@ -74,9 +74,8 @@ def generator(test_case): | |||||||
|             print('Skipping: {0}'.format(test_case['skip'])) |             print('Skipping: {0}'.format(test_case['skip'])) | ||||||
|             return |             return | ||||||
|  |  | ||||||
|         params = dict(self.parameters) # Duplicate it locally |         params = self.parameters.copy() | ||||||
|         for p in test_case.get('params', {}): |         params.update(test_case.get('params', {})) | ||||||
|             params[p] = test_case['params'][p] |  | ||||||
|  |  | ||||||
|         fd = FileDownloader(params) |         fd = FileDownloader(params) | ||||||
|         fd.add_info_extractor(ie()) |         fd.add_info_extractor(ie()) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister