summaryrefslogtreecommitdiffstats
path: root/tests/test_git_command.py
diff options
context:
space:
mode:
authorMike Frysinger <vapier@google.com>2023-10-19 05:13:32 -0400
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-10-20 04:51:01 +0000
commitd4aee6570b64c5b6de584b0a5ce76e6a139faf38 (patch)
treec70cfd687689cff85ca7682071ccd0c8f690536c /tests/test_git_command.py
parent024df06ec15d7304fbb5f9a2b1aa44f2af9daf4c (diff)
downloadgit-repo-d4aee6570b64c5b6de584b0a5ce76e6a139faf38.tar.gz
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>
Diffstat (limited to 'tests/test_git_command.py')
-rw-r--r--tests/test_git_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_git_command.py b/tests/test_git_command.py
index 881cccb8..7c108ccd 100644
--- a/tests/test_git_command.py
+++ b/tests/test_git_command.py
@@ -72,7 +72,7 @@ class GitCommandWaitTest(unittest.TestCase):
72 """Tests the GitCommand class .Wait()""" 72 """Tests the GitCommand class .Wait()"""
73 73
74 def setUp(self): 74 def setUp(self):
75 class MockPopen(object): 75 class MockPopen:
76 rc = 0 76 rc = 0
77 77
78 def __init__(self): 78 def __init__(self):