mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	Fix an import in the tests and the Youtube Shows test
This commit is contained in:
		| @@ -17,7 +17,6 @@ import xml.etree.ElementTree | |||||||
|  |  | ||||||
| import youtube_dl.YoutubeDL | import youtube_dl.YoutubeDL | ||||||
| import youtube_dl.extractor | import youtube_dl.extractor | ||||||
| from youtube_dl.utils import True |  | ||||||
|  |  | ||||||
|  |  | ||||||
| class YoutubeDL(youtube_dl.YoutubeDL): | class YoutubeDL(youtube_dl.YoutubeDL): | ||||||
|   | |||||||
| @@ -106,7 +106,7 @@ class TestYoutubeLists(unittest.TestCase): | |||||||
|         dl = FakeYDL() |         dl = FakeYDL() | ||||||
|         ie = YoutubeShowIE(dl) |         ie = YoutubeShowIE(dl) | ||||||
|         result = ie.extract('http://www.youtube.com/show/airdisasters') |         result = ie.extract('http://www.youtube.com/show/airdisasters') | ||||||
|         self.assertTrue(len(result) >= 4) |         self.assertTrue(len(result) >= 3) | ||||||
|  |  | ||||||
| if __name__ == '__main__': | if __name__ == '__main__': | ||||||
|     unittest.main() |     unittest.main() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jaime Marquínez Ferrándiz
					Jaime Marquínez Ferrándiz