mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-02 16:32:51 +01:00
Fix linter
This commit is contained in:
parent
79ae58a5c4
commit
5e4699a623
|
@ -425,7 +425,6 @@ def test_unified_timestamps(self):
|
||||||
# but yt-dlp uses UTC to keep things consistent
|
# but yt-dlp uses UTC to keep things consistent
|
||||||
self.assertEqual(unified_timestamp('2023-03-11T06:48:34.008'), 1678517314)
|
self.assertEqual(unified_timestamp('2023-03-11T06:48:34.008'), 1678517314)
|
||||||
|
|
||||||
|
|
||||||
def test_determine_ext(self):
|
def test_determine_ext(self):
|
||||||
self.assertEqual(determine_ext('http://example.com/foo/bar.mp4/?download'), 'mp4')
|
self.assertEqual(determine_ext('http://example.com/foo/bar.mp4/?download'), 'mp4')
|
||||||
self.assertEqual(determine_ext('http://example.com/foo/bar/?download', None), None)
|
self.assertEqual(determine_ext('http://example.com/foo/bar/?download', None), None)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user