From d4aee6570b64c5b6de584b0a5ce76e6a139faf38 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 19 Oct 2023 05:13:32 -0400 Subject: 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 Reviewed-by: Aravind Vasudevan Tested-by: Mike Frysinger --- tests/test_git_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_git_command.py') 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): """Tests the GitCommand class .Wait()""" def setUp(self): - class MockPopen(object): + class MockPopen: rc = 0 def __init__(self): -- cgit v1.2.3-54-g00ecf