projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
42b098d
)
[test] Avoid name TestIE which causes a pytest warning
author
dirkf
<fieldhouse@gmx.net>
Tue, 14 Feb 2023 16:33:01 +0000
(16:33 +0000)
committer
dirkf
<fieldhouse@gmx.net>
Tue, 14 Feb 2023 16:36:40 +0000
(16:36 +0000)
See: https://github.com/yt-dlp/yt-dlp/commit/
060ac76257a8c1f7370a8a571821c1d73377701f
test/test_InfoExtractor.py
patch
|
blob
|
history
diff --git
a/test/test_InfoExtractor.py
b/test/test_InfoExtractor.py
index 4db5c93f177d9829e37ac997f68cf862cacaac73..6d25441db14bc44eb9c69e4cc316171ff5235c88 100644
(file)
--- a/
test/test_InfoExtractor.py
+++ b/
test/test_InfoExtractor.py
@@
-35,13
+35,13
@@
class InfoExtractorTestRequestHandler(compat_http_server.BaseHTTPRequestHandler)
assert False
-class
Test
IE(InfoExtractor):
+class
Dummy
IE(InfoExtractor):
pass
class TestInfoExtractor(unittest.TestCase):
def setUp(self):
- self.ie =
Test
IE(FakeYDL())
+ self.ie =
Dummy
IE(FakeYDL())
def test_ie_key(self):
self.assertEqual(get_info_extractor(YoutubeIE.ie_key()), YoutubeIE)