mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-30 22:25:19 +00:00 
			
		
		
		
	[utils] lookup_unit_table: Match word boundary instead of end of string
This commit is contained in:
		| @@ -702,6 +702,8 @@ class TestUtil(unittest.TestCase): | ||||
|         self.assertEqual(parse_count('1.000'), 1000) | ||||
|         self.assertEqual(parse_count('1.1k'), 1100) | ||||
|         self.assertEqual(parse_count('1.1kk'), 1100000) | ||||
|         self.assertEqual(parse_count('1.1kk '), 1100000) | ||||
|         self.assertEqual(parse_count('1.1kk views'), 1100000) | ||||
|  | ||||
|     def test_version_tuple(self): | ||||
|         self.assertEqual(version_tuple('1'), (1,)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Jaime Marquínez Ferrándiz
					Jaime Marquínez Ferrándiz