| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -6,8 +6,4 @@ | |||
| 6 | 6 | ||
| 7 | 7 | from unittest.mock import patch | |
| 8 | 8 | ||
| 9 | - from nose.tools import ( | ||
| 10 | - assert_false # @UnusedImport | ||
| 11 | - ) | ||
| 12 | - | ||
| 13 | - __all__ = ['patch', 'assert_false'] | ||
| 9 | + __all__ = ['patch'] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -40,8 +40,7 @@ | |||
| 40 | 40 | patch, | |
| 41 | 41 | TestBase, | |
| 42 | 42 | with_rw_repo, | |
| 43 | - fixture, | ||
| 44 | - assert_false | ||
| 43 | + fixture | ||
| 45 | 44 | ) | |
| 46 | 45 | from git.util import HIDE_WINDOWS_KNOWN_ERRORS, cygpath | |
| 47 | 46 | 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 | 342 | orig_value = self.rorepo._bare | |
| 344 | 343 | self.rorepo._bare = True | |
| 345 | - assert_false(self.rorepo.is_dirty()) | ||
| 344 | + self.assertFalse(self.rorepo.is_dirty()) | ||
| 346 | 345 | self.rorepo._bare = orig_value | |
| 347 | 346 | ||
| 348 | 347 | def test_is_dirty(self): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments