From 7cf0ca8b94dc815598e354d17d87ca77f499cae6 Mon Sep 17 00:00:00 2001 From: Harmon Date: Sun, 16 Feb 2020 13:46:25 -0600 Subject: Replace deprecated failUnlessRaises alias with assertRaises in tests --- git/test/lib/helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/test/lib/helper.py') diff --git a/git/test/lib/helper.py b/git/test/lib/helper.py index 9418a9f8..8de66e8a 100644 --- a/git/test/lib/helper.py +++ b/git/test/lib/helper.py @@ -331,7 +331,7 @@ class TestBase(TestCase): - Utility functions provided by the TestCase base of the unittest method such as:: self.fail("todo") - self.failUnlessRaises(...) + self.assertRaises(...) - Class level repository which is considered read-only as it is shared among all test cases in your type. -- cgit v1.2.3