From 24d04e820ef721c8036e8424acdb1a06dc1e8b11 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 16 Feb 2020 16:21:03 -0600 Subject: Replace assert_not_equal with assertNotEqual --- git/test/test_commit.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'git/test/test_commit.py') diff --git a/git/test/test_commit.py b/git/test/test_commit.py index e0c4dc32..0e94bcb6 100644 --- a/git/test/test_commit.py +++ b/git/test/test_commit.py @@ -22,7 +22,6 @@ from git.objects.util import tzoffset, utc from git.repo.fun import touch from git.test.lib import ( TestBase, - assert_not_equal, with_rw_repo, fixture_path, StringProcessAdapter @@ -254,7 +253,7 @@ class TestCommit(TestCommitSerialization): commit2 = Commit(self.rorepo, Commit.NULL_BIN_SHA) commit3 = Commit(self.rorepo, "\1" * 20) self.assertEqual(commit1, commit2) - assert_not_equal(commit2, commit3) + self.assertNotEqual(commit2, commit3) def test_iter_parents(self): # should return all but ourselves, even if skip is defined -- cgit v1.2.1