mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 01:42:50 +01:00
style: fix invalid styling
This commit is contained in:
parent
5982686f86
commit
773b554bf5
@ -203,7 +203,7 @@ def test_sanitize_filename_restricted(self):
|
||||
self.assertEqual('abc_de', sanitize_filename('abc/<>\\*|de', use_win_filenames=True, restricted=True))
|
||||
self.assertEqual('xxx', sanitize_filename('xxx/<>\\*|', use_win_filenames=True, restricted=True))
|
||||
self.assertEqual('yes_no', sanitize_filename('yes? no', use_win_filenames=True, restricted=True))
|
||||
self.assertEqual('this_-_that', sanitize_filename('this: that', use_win_filenames=True ,restricted=True))
|
||||
self.assertEqual('this_-_that', sanitize_filename('this: that', use_win_filenames=True, restricted=True))
|
||||
|
||||
tests = 'aäb\u4e2d\u56fd\u7684c'
|
||||
self.assertEqual(sanitize_filename(tests, use_win_filenames=True, restricted=True), 'aab_c')
|
||||
@ -222,7 +222,7 @@ def test_sanitize_filename_restricted(self):
|
||||
self.assertTrue(sanitize_filename(':', use_win_filenames=True, restricted=True) != '')
|
||||
|
||||
self.assertEqual(sanitize_filename(
|
||||
'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖŐØŒÙÚÛÜŰÝÞßàáâãäåæçèéêëìíîïðñòóôõöőøœùúûüűýþÿ', use_win_filenames=True ,restricted=True),
|
||||
'ÂÃÄÀÁÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖŐØŒÙÚÛÜŰÝÞßàáâãäåæçèéêëìíîïðñòóôõöőøœùúûüűýþÿ', use_win_filenames=True, restricted=True),
|
||||
'AAAAAAAECEEEEIIIIDNOOOOOOOOEUUUUUYTHssaaaaaaaeceeeeiiiionooooooooeuuuuuythy')
|
||||
|
||||
def test_sanitize_ids(self):
|
||||
|
Loading…
Reference in New Issue
Block a user