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