diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-16 14:07:46 -0600 |
---|---|---|
committer | Harmon <Harmon758@gmail.com> | 2020-02-16 14:07:46 -0600 |
commit | b0a69bbec284bccbeecdf155e925c3046f024d4c (patch) | |
tree | 1ad2eaaf58072451ed29af95a5ccfed3be817d71 /git | |
parent | 625969d5f7532240fcd8e3968ac809d294a647be (diff) | |
download | gitpython-b0a69bbec284bccbeecdf155e925c3046f024d4c.tar.gz |
Replace deprecated assertRaisesRegexp alias with assertRaisesRegex
In TestRepo.test_should_display_blame_information
Diffstat (limited to 'git')
-rw-r--r-- | git/test/test_repo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_repo.py b/git/test/test_repo.py index 58741b44..0cbdbe0e 100644 --- a/git/test/test_repo.py +++ b/git/test/test_repo.py @@ -417,7 +417,7 @@ class TestRepo(TestBase): assert_equal('Tom Preston-Werner', c.committer.name) assert_equal('tom@mojombo.com', c.committer.email) assert_equal(1191997100, c.committed_date) - self.assertRaisesRegexp(ValueError, "634396b2f541a9f2d58b00be1a07f0c358b999b3 missing", lambda: c.message) + self.assertRaisesRegex(ValueError, "634396b2f541a9f2d58b00be1a07f0c358b999b3 missing", lambda: c.message) # test the 'lines per commit' entries tlist = b[0][1] |