aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2020-07-21 20:40:19 -0700
committerZac Medico <zmedico@gentoo.org>2020-07-22 09:52:29 -0700
commitd04484a9400aec8818461e1ee9f488c862403c23 (patch)
treea49bf41e1be72e290c9497bb8d12384c722cc7c1 /lib/portage/tests/resolver/ResolverPlayground.py
parentsyncbase: Add back missing functools import (diff)
downloadportage-d04484a9400aec8818461e1ee9f488c862403c23.tar.gz
portage-d04484a9400aec8818461e1ee9f488c862403c23.tar.bz2
portage-d04484a9400aec8818461e1ee9f488c862403c23.zip
Fix pylint R0205.
In python3 inheriting from object is no longer required. Signed-off-by: Alec Warner <antarus@gentoo.org> Change-Id: Id489d4103d975a751be148205694cb6a20d33b31 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/portage/tests/resolver/ResolverPlayground.py')
-rw-r--r--lib/portage/tests/resolver/ResolverPlayground.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/portage/tests/resolver/ResolverPlayground.py b/lib/portage/tests/resolver/ResolverPlayground.py
index d39073a4c..281cd0736 100644
--- a/lib/portage/tests/resolver/ResolverPlayground.py
+++ b/lib/portage/tests/resolver/ResolverPlayground.py
@@ -35,7 +35,7 @@ except ImportError:
cnf_path_repoman = None
-class ResolverPlayground(object):
+class ResolverPlayground:
"""
This class helps to create the necessary files on disk and
the needed settings instances, etc. for the resolver to do
@@ -641,7 +641,7 @@ class ResolverPlayground(object):
else:
shutil.rmtree(self.eroot)
-class ResolverPlaygroundTestCase(object):
+class ResolverPlaygroundTestCase:
def __init__(self, request, **kwargs):
self.all_permutations = kwargs.pop("all_permutations", False)
@@ -819,7 +819,7 @@ def _mergelist_str(x, depgraph):
return mergelist_str
-class ResolverPlaygroundResult(object):
+class ResolverPlaygroundResult:
checks = (
"success", "mergelist", "use_changes", "license_changes",
@@ -913,7 +913,7 @@ class ResolverPlaygroundResult(object):
if required_use_unsatisfied:
self.required_use_unsatisfied = set(required_use_unsatisfied)
-class ResolverPlaygroundDepcleanResult(object):
+class ResolverPlaygroundDepcleanResult:
checks = (
"success", "cleanlist", "ordered", "req_pkg_count",