def test_loader_deprecated(self): with self.check_deprecated(): x = pkgutil.ImpLoader("", "", "", "")