(self, first, second, msg=None)
| 3397 | ) |
| 3398 | |
| 3399 | def assert_equal(self, first, second, msg=None): |
| 3400 | if first != second: |
| 3401 | if not msg: |
| 3402 | raise AssertionError( |
| 3403 | "%s is not equal to %s." % (first, second) |
| 3404 | ) |
| 3405 | else: |
| 3406 | raise AssertionError( |
| 3407 | "%s is not equal to %s. (%s)" % (first, second, msg)) |
| 3408 | |
| 3409 | def assert_not_equal(self, first, second, msg=None): |
| 3410 | if first == second: |
no outgoing calls