]> jfr.im git - yt-dlp.git/blobdiff - test/test_plugins.py
[cleanup] Add more ruff rules (#10149)
[yt-dlp.git] / test / test_plugins.py
index 6cde579e1e9c1bbba2c159a19330a78eaed6e7c6..c82158e9fc35e19b7f94e9f801d2e5e0eff7c1a7 100644 (file)
@@ -31,7 +31,7 @@ def test_extractor_classes(self):
 
         # don't load modules with underscore prefix
         self.assertFalse(
-            f'{PACKAGE_NAME}.extractor._ignore' in sys.modules.keys(),
+            f'{PACKAGE_NAME}.extractor._ignore' in sys.modules,
             'loaded module beginning with underscore')
         self.assertNotIn('IgnorePluginIE', plugins_ie.keys())