diff options
author | Harmon <Harmon758@gmail.com> | 2020-02-16 14:02:41 -0600 |
---|---|---|
committer | Harmon <Harmon758@gmail.com> | 2020-02-16 14:03:20 -0600 |
commit | 8cb3e0cac2f1886e4b10ea3b461572e51424acc7 (patch) | |
tree | 2214a3688fc69df31da2e2a92a6f1674b8539525 | |
parent | 7cf0ca8b94dc815598e354d17d87ca77f499cae6 (diff) | |
download | gitpython-8cb3e0cac2f1886e4b10ea3b461572e51424acc7.tar.gz |
Replace deprecated assertRegexpMatches alias with assertRegex
In TExc.test_CommandError_unicode
-rw-r--r-- | git/test/test_exc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_exc.py b/git/test/test_exc.py index 28d824d0..8024ec78 100644 --- a/git/test/test_exc.py +++ b/git/test/test_exc.py @@ -92,7 +92,7 @@ class TExc(TestBase): if subs is not None: # Substrings (must) already contain opening `'`. subs = "(?<!')%s(?!')" % re.escape(subs) - self.assertRegexpMatches(s, subs) + self.assertRegex(s, subs) if not stream: c = cls(argv, cause) |