summaryrefslogtreecommitdiff
path: root/git
diff options
context:
space:
mode:
Diffstat (limited to 'git')
-rw-r--r--git/test/lib/asserts.py6
-rw-r--r--git/test/test_repo.py5
2 files changed, 3 insertions, 8 deletions
diff --git a/git/test/lib/asserts.py b/git/test/lib/asserts.py
index 207bbd68..6c49a0c3 100644
--- a/git/test/lib/asserts.py
+++ b/git/test/lib/asserts.py
@@ -6,8 +6,4 @@
from unittest.mock import patch
-from nose.tools import (
- assert_false # @UnusedImport
-)
-
-__all__ = ['patch', 'assert_false']
+__all__ = ['patch']
diff --git a/git/test/test_repo.py b/git/test/test_repo.py
index fc836256..45a51fa6 100644
--- a/git/test/test_repo.py
+++ b/git/test/test_repo.py
@@ -40,8 +40,7 @@ from git.test.lib import (
patch,
TestBase,
with_rw_repo,
- fixture,
- assert_false
+ fixture
)
from git.util import HIDE_WINDOWS_KNOWN_ERRORS, cygpath
from git.test.lib import with_rw_directory
@@ -342,7 +341,7 @@ class TestRepo(TestBase):
def test_is_dirty_with_bare_repository(self):
orig_value = self.rorepo._bare
self.rorepo._bare = True
- assert_false(self.rorepo.is_dirty())
+ self.assertFalse(self.rorepo.is_dirty())
self.rorepo._bare = orig_value
def test_is_dirty(self):