Assert a is not b, with repr messaging on failure.
(a, b, msg=None)
| 322 | |
| 323 | |
| 324 | def is_not(a, b, msg=None): |
| 325 | """Assert a is not b, with repr messaging on failure.""" |
| 326 | assert a is not b, msg or "%r is %r" % (a, b) |
| 327 | |
| 328 | |
| 329 | # deprecated. See #5429 |
no outgoing calls