(self, expression, msg=None)
| 3379 | return True |
| 3380 | |
| 3381 | def assert_true(self, expression, msg=None): |
| 3382 | if not expression: |
| 3383 | if not msg: |
| 3384 | raise AssertionError("%s is not true." % expression) |
| 3385 | else: |
| 3386 | raise AssertionError( |
| 3387 | "%s is not true. (%s)" % (expression, msg) |
| 3388 | ) |
| 3389 | |
| 3390 | def assert_false(self, expression, msg=None): |
| 3391 | if expression: |
no outgoing calls