Skip to content

Commit

Permalink
[test] Avoid name TestIE which causes a pytest warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkf committed Feb 14, 2023
1 parent 42b098d commit dd9aa74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_InfoExtractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ def do_GET(self):
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)
Expand Down

0 comments on commit dd9aa74

Please sign in to comment.