Skip to content

Commit

Permalink
Merge pull request benoitc#2631 from hugovk/update-deprecated-unittes…
Browse files Browse the repository at this point in the history
…t-aliases

Replace deprecated unittest alias
  • Loading branch information
benoitc committed Sep 6, 2021
2 parents 1299ea9 + 45687c3 commit ff58e0c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12,7 +12,7 @@ def test_basic_addition(self):
"""
Tests that 1 + 1 always equals 2.
"""
self.failUnlessEqual(1 + 1, 2)
self.assertEqual(1 + 1, 2)

__test__ = {"doctest": """
Another way to test that 1 + 1 is equal to 2.
Expand Down

0 comments on commit ff58e0c

Please sign in to comment.