mirror of
				https://code.hackerspace.pl/q3k/youtube-dl
				synced 2025-03-16 11:43:02 +00:00 
			
		
		
		
	Use str every time
This commit is contained in:
		
							parent
							
								
									2eb88d953f
								
							
						
					
					
						commit
						41beccbab0
					
				| @ -168,7 +168,7 @@ for n, test_case in enumerate(defs): | |||||||
|     tname = 'test_' + str(test_case['name']) |     tname = 'test_' + str(test_case['name']) | ||||||
|     i = 1 |     i = 1 | ||||||
|     while hasattr(TestDownload, tname): |     while hasattr(TestDownload, tname): | ||||||
|         tname = 'test_'  + test_case['name'] + '_' + str(i) |         tname = 'test_'  + str(test_case['name']) + '_' + str(i) | ||||||
|         i += 1 |         i += 1 | ||||||
|     test_method.__name__ = tname |     test_method.__name__ = tname | ||||||
|     setattr(TestDownload, test_method.__name__, test_method) |     setattr(TestDownload, test_method.__name__, test_method) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
						Philipp Hagemeister