From 37a252748a68bb26398ea38e92472e94166abbb5 Mon Sep 17 00:00:00 2001 From: Andrew Grigorev Date: Sat, 12 Apr 2025 19:45:01 +0300 Subject: [PATCH] test: Fix commit result assertion in test_noop_commit --- tests/basic/test_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/basic/test_repo.py b/tests/basic/test_repo.py index 287d5ea16..88c4b4edf 100644 --- a/tests/basic/test_repo.py +++ b/tests/basic/test_repo.py @@ -606,7 +606,7 @@ class TestRepo(unittest.TestCase): git_repo = GitRepo(InputOutput(), None, None) commit_result = git_repo.commit(fnames=[str(fname)]) - self.assertIsNotNone(commit_result) + self.assertIsNone(commit_result) def test_git_commit_verify(self): """Test that git_commit_verify controls whether --no-verify is passed to git commit"""