diff options
Diffstat (limited to 'git/test/test_base.py')
-rw-r--r-- | git/test/test_base.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/git/test/test_base.py b/git/test/test_base.py index 2132806b..ee2e8e07 100644 --- a/git/test/test_base.py +++ b/git/test/test_base.py @@ -19,7 +19,6 @@ from git.compat import is_win from git.objects.util import get_object_type_by_name from git.test.lib import ( TestBase, - assert_raises, with_rw_repo, with_rw_and_rw_remote_repo ) @@ -96,7 +95,7 @@ class TestBase(TestBase): assert base.Object in get_object_type_by_name(tname).mro() # END for each known type - assert_raises(ValueError, get_object_type_by_name, b"doesntexist") + self.assertRaises(ValueError, get_object_type_by_name, b"doesntexist") def test_object_resolution(self): # objects must be resolved to shas so they compare equal |