diff options
-rw-r--r-- | git/test/lib/asserts.py | 3 | ||||
-rw-r--r-- | git/test/test_commit.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/git/test/lib/asserts.py b/git/test/lib/asserts.py index 97b0e2e8..789c681b 100644 --- a/git/test/lib/asserts.py +++ b/git/test/lib/asserts.py @@ -7,12 +7,11 @@ from unittest.mock import patch from nose.tools import ( - assert_not_equal, # @UnusedImport assert_raises, # @UnusedImport raises, # @UnusedImport assert_true, # @UnusedImport assert_false # @UnusedImport ) -__all__ = ['assert_not_equal', 'assert_raises', 'patch', 'raises', +__all__ = ['assert_raises', 'patch', 'raises', 'assert_true', 'assert_false'] 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 |