mirror of
https://github.com/yt-dlp/yt-dlp
synced 2025-12-17 14:45:42 +07:00
Clean up test
This commit is contained in:
@@ -58,7 +58,6 @@ def test_sanitize_filename_restricted(self):
|
|||||||
|
|
||||||
forbidden = u'"\0\\/&: \'\t\n'
|
forbidden = u'"\0\\/&: \'\t\n'
|
||||||
for fc in forbidden:
|
for fc in forbidden:
|
||||||
print('input: ' + fc + ', result: ' + repr(sanitize_filename(fc, restricted=True)))
|
|
||||||
for fbc in forbidden:
|
for fbc in forbidden:
|
||||||
self.assertTrue(fbc not in sanitize_filename(fc, restricted=True))
|
self.assertTrue(fbc not in sanitize_filename(fc, restricted=True))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user