diff options
author | Hugo van Kemenade <hugovk@users.noreply.github.com> | 2021-08-19 12:09:11 +0300 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-08-19 18:37:43 +0800 |
commit | dff15cd8ba473776f76e8a3b6359a861e72d74aa (patch) | |
tree | cc2109576ed78d4f0da7257c5e5063540d303a85 /gitdb/test/db/test_pack.py | |
parent | 03ab3a1d40c04d6a944299c21db61cf9ce30f6bb (diff) | |
download | gitdb-dff15cd8ba473776f76e8a3b6359a861e72d74aa.tar.gz |
Replace deprecated unittest aliases
Diffstat (limited to 'gitdb/test/db/test_pack.py')
-rw-r--r-- | gitdb/test/db/test_pack.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitdb/test/db/test_pack.py b/gitdb/test/db/test_pack.py index 9694238..458d804 100644 --- a/gitdb/test/db/test_pack.py +++ b/gitdb/test/db/test_pack.py @@ -84,4 +84,4 @@ class TestPackDB(TestDBBase): # assert num_ambiguous # non-existing - self.failUnlessRaises(BadObject, pdb.partial_to_complete_sha, b'\0\0', 4) + self.assertRaises(BadObject, pdb.partial_to_complete_sha, b'\0\0', 4) |