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/test_fun.py | |
parent | 2c429fc0382868c22b56e70047b01c0567c0ba31 (diff) | |
download | gitpython-7cf0ca8b94dc815598e354d17d87ca77f499cae6.tar.gz |
Replace deprecated failUnlessRaises alias with assertRaises in tests
Diffstat (limited to 'git/test/test_fun.py')
-rw-r--r-- | git/test/test_fun.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_fun.py b/git/test/test_fun.py index 612c4c5d..594e8fab 100644 --- a/git/test/test_fun.py +++ b/git/test/test_fun.py @@ -70,7 +70,7 @@ class TestFun(TestBase): self._assert_index_entries(aggressive_tree_merge(odb, trees), trees) # too many trees - self.failUnlessRaises(ValueError, aggressive_tree_merge, odb, trees * 2) + self.assertRaises(ValueError, aggressive_tree_merge, odb, trees * 2) def mktree(self, odb, entries): """create a tree from the given tree entries and safe it to the database""" |