[test] Avoid name TestIE which causes a pytest warning

See: 060ac76257
pull/31568/head
dirkf 2023-02-14 16:33:01 +00:00
parent 42b098dd79
commit dd9aa74bee
1 changed files with 2 additions and 2 deletions

View File

@ -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)