forked from orbit-oss/flask
Add missing msg argument to assert_true()
This commit is contained in:
parent
8e9f0bdedc
commit
4d73ef1a19
1 changed files with 2 additions and 2 deletions
|
|
@ -142,8 +142,8 @@ class FlaskTestCase(unittest.TestCase):
|
|||
with catcher:
|
||||
callable(*args, **kwargs)
|
||||
|
||||
def assert_true(self, x):
|
||||
self.assertTrue(x)
|
||||
def assert_true(self, x, msg=None):
|
||||
self.assertTrue(x, msg)
|
||||
|
||||
|
||||
class _ExceptionCatcher(object):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue