mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Replace deprecated unittest alias
This commit is contained in:
parent
1299ea9e96
commit
45687c358c
@ -12,7 +12,7 @@ class SimpleTest(TestCase):
|
|||||||
"""
|
"""
|
||||||
Tests that 1 + 1 always equals 2.
|
Tests that 1 + 1 always equals 2.
|
||||||
"""
|
"""
|
||||||
self.failUnlessEqual(1 + 1, 2)
|
self.assertEqual(1 + 1, 2)
|
||||||
|
|
||||||
__test__ = {"doctest": """
|
__test__ = {"doctest": """
|
||||||
Another way to test that 1 + 1 is equal to 2.
|
Another way to test that 1 + 1 is equal to 2.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user