delete Python 2 (object) compat

Bug: 302871152
Change-Id: I39636d73a6e1d69efa8ade74f75c5381651e6dc8
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/390054
Commit-Queue: Mike Frysinger <vapier@google.com>
Reviewed-by: Aravind Vasudevan <aravindvasudev@google.com>
Tested-by: Mike Frysinger <vapier@google.com>
This commit is contained in:
Mike Frysinger
2023-10-19 05:13:32 -04:00
committed by LUCI
parent 024df06ec1
commit d4aee6570b
19 changed files with 43 additions and 43 deletions

View File

@ -72,7 +72,7 @@ class GitCommandWaitTest(unittest.TestCase):
"""Tests the GitCommand class .Wait()"""
def setUp(self):
class MockPopen(object):
class MockPopen:
rc = 0
def __init__(self):

View File

@ -48,7 +48,7 @@ def TempGitTree():
yield tempdir
class FakeProject(object):
class FakeProject:
"""A fake for Project for basic functionality."""
def __init__(self, worktree):