diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-16 13:46:25 -0600 |
---|---|---|
committer | Harmon <Harmon758@gmail.com> | 2020-02-16 13:52:26 -0600 |
commit | 7cf0ca8b94dc815598e354d17d87ca77f499cae6 (patch) | |
tree | 4f6804ce8fdd8a9f13a83d3516037be0fe8cda7a /git/test/lib/helper.py | |
parent | 2c429fc0382868c22b56e70047b01c0567c0ba31 (diff) | |
download | gitpython-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.py | 2 |
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. |