Assert a is not b, with repr messaging on failure.
(a, b, msg=None)
| 328 | |
| 329 | |
| 330 | def is_not(a, b, msg=None): |
| 331 | """Assert a is not b, with repr messaging on failure.""" |
| 332 | assert a is not b, msg or "%r is %r" % (a, b) |
| 333 | |
| 334 | |
| 335 | # deprecated. See #5429 |
no outgoing calls