diff --git a/tests/test_git_superproject.py b/tests/test_git_superproject.py index f884f507..dc46ec65 100644 --- a/tests/test_git_superproject.py +++ b/tests/test_git_superproject.py @@ -490,7 +490,9 @@ class SuperprojectTestCase(unittest.TestCase): self.assertTrue(self._superproject._Fetch()) self.assertEqual( - mock_git_command.call_args.args, + # TODO: Once we require Python 3.8+, + # use 'mock_git_command.call_args.args'. + mock_git_command.call_args[0], ( None, [ @@ -510,7 +512,9 @@ class SuperprojectTestCase(unittest.TestCase): # If branch for revision exists, set as --negotiation-tip. self.assertTrue(self._superproject._Fetch()) self.assertEqual( - mock_git_command.call_args.args, + # TODO: Once we require Python 3.8+, + # use 'mock_git_command.call_args.args'. + mock_git_command.call_args[0], ( None, [