Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd8768 commit 8a5a78bCopy full SHA for 8a5a78b
git/test/lib/asserts.py
@@ -6,8 +6,4 @@
6
7
from unittest.mock import patch
8
9
-from nose.tools import (
10
- assert_false # @UnusedImport
11
-)
12
-
13
-__all__ = ['patch', 'assert_false']
+__all__ = ['patch']
git/test/test_repo.py
@@ -40,8 +40,7 @@
40
patch,
41
TestBase,
42
with_rw_repo,
43
- fixture,
44
- assert_false
+ fixture
45
)
46
from git.util import HIDE_WINDOWS_KNOWN_ERRORS, cygpath
47
from git.test.lib import with_rw_directory
@@ -342,7 +341,7 @@ def test_repr(self):
342
341
def test_is_dirty_with_bare_repository(self):
343
orig_value = self.rorepo._bare
344
self.rorepo._bare = True
345
- assert_false(self.rorepo.is_dirty())
+ self.assertFalse(self.rorepo.is_dirty())
346
self.rorepo._bare = orig_value
347
348
def test_is_dirty(self):
0 commit comments