Backport
(x, y, msg=None)
| 96 | |
| 97 | |
| 98 | def assert_equal(x, y, msg=None): |
| 99 | """Backport""" |
| 100 | if x == y: |
| 101 | return |
| 102 | std_msg = '%s not equal to %s' % (_safe_rep(x), _safe_rep(y)) |
| 103 | raise AssertionError(_format_msg(msg, std_msg)) |
| 104 | |
| 105 | |
| 106 | def assert_not_equal(x, y, msg=None): |
no test coverage detected
searching dependent graphs…