Browse Source

Add missing msg argument to assert_true()

pull/739/head
Daniel Neuhäuser 12 years ago
parent
commit
4d73ef1a19
  1. 4
      flask/testsuite/__init__.py

4
flask/testsuite/__init__.py

@ -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…
Cancel
Save