diff options
author | dirkf <fieldhouse@gmx.net> | 2023-02-14 16:33:01 +0000 |
---|---|---|
committer | dirkf <fieldhouse@gmx.net> | 2023-02-14 16:36:40 +0000 |
commit | dd9aa74beefc179f943051c4e19eecad87ab1124 (patch) | |
tree | d9b17b4cc1a649df7681d09514f154bbbaed2d3c /test | |
parent | 42b098dd79e91295376ca98f394876555481a3eb (diff) |
[test] Avoid name TestIE which causes a pytest warning
See: https://github.com/yt-dlp/yt-dlp/commit/060ac76257a8c1f7370a8a571821c1d73377701f
Diffstat (limited to 'test')
-rw-r--r-- | test/test_InfoExtractor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_InfoExtractor.py b/test/test_InfoExtractor.py index 4db5c93f1..6d25441db 100644 --- a/test/test_InfoExtractor.py +++ b/test/test_InfoExtractor.py @@ -35,13 +35,13 @@ class InfoExtractorTestRequestHandler(compat_http_server.BaseHTTPRequestHandler) assert False -class TestIE(InfoExtractor): +class DummyIE(InfoExtractor): pass class TestInfoExtractor(unittest.TestCase): def setUp(self): - self.ie = TestIE(FakeYDL()) + self.ie = DummyIE(FakeYDL()) def test_ie_key(self): self.assertEqual(get_info_extractor(YoutubeIE.ie_key()), YoutubeIE) |