summaryrefslogtreecommitdiff
path: root/git/test/lib/helper.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-16 13:46:25 -0600
committerHarmon <Harmon758@gmail.com>2020-02-16 13:52:26 -0600
commit7cf0ca8b94dc815598e354d17d87ca77f499cae6 (patch)
tree4f6804ce8fdd8a9f13a83d3516037be0fe8cda7a /git/test/lib/helper.py
parent2c429fc0382868c22b56e70047b01c0567c0ba31 (diff)
downloadgitpython-7cf0ca8b94dc815598e354d17d87ca77f499cae6.tar.gz
Replace deprecated failUnlessRaises alias with assertRaises in tests
Diffstat (limited to 'git/test/lib/helper.py')
-rw-r--r--git/test/lib/helper.py2
1 files changed, 1 insertions, 1 deletions
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.