Skip to content

Commit 1954d05

Browse files
Apply ruff/pyupgrade rule UP004
UP004 Class inherits from `object` Not required or recommended in Python 3 any more.
1 parent f3d5bed commit 1954d05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pytest_dependency.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
_ignore_unknown = False
1212

1313

14-
class DependencyItemStatus(object):
14+
class DependencyItemStatus:
1515
"""Status of a test item in a dependency manager.
1616
"""
1717

@@ -31,7 +31,7 @@ def isSuccess(self):
3131
return list(self.results.values()) == ['passed', 'passed', 'passed']
3232

3333

34-
class DependencyManager(object):
34+
class DependencyManager:
3535
"""Dependency manager, stores the results of tests.
3636
"""
3737

0 commit comments

Comments
 (0)