Assert a is b, with repr messaging on failure.
(a, b, msg=None)
| 323 | |
| 324 | |
| 325 | def is_(a, b, msg=None): |
| 326 | """Assert a is b, with repr messaging on failure.""" |
| 327 | assert a is b, msg or "%r is not %r" % (a, b) |
| 328 | |
| 329 | |
| 330 | def is_not(a, b, msg=None): |
nothing calls this directly
no outgoing calls