Assert a == b, with repr messaging on failure.
(a, b, msg=None)
| 282 | |
| 283 | |
| 284 | def eq_(a, b, msg=None): |
| 285 | """Assert a == b, with repr messaging on failure.""" |
| 286 | assert a == b, msg or "%r != %r" % (a, b) |
| 287 | |
| 288 | |
| 289 | def ne_(a, b, msg=None): |
no outgoing calls