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_blob.py | |
parent | 2c429fc0382868c22b56e70047b01c0567c0ba31 (diff) | |
download | gitpython-7cf0ca8b94dc815598e354d17d87ca77f499cae6.tar.gz |
Replace deprecated failUnlessRaises alias with assertRaises in tests
Diffstat (limited to 'git/test/test_blob.py')
-rw-r--r-- | git/test/test_blob.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_blob.py b/git/test/test_blob.py index b529e80f..4c7f0055 100644 --- a/git/test/test_blob.py +++ b/git/test/test_blob.py @@ -22,4 +22,4 @@ class TestBlob(TestBase): assert_equal("text/plain", blob.mime_type) def test_nodict(self): - self.failUnlessRaises(AttributeError, setattr, self.rorepo.tree()['AUTHORS'], 'someattr', 2) + self.assertRaises(AttributeError, setattr, self.rorepo.tree()['AUTHORS'], 'someattr', 2) |