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 | class="st">""class="st">"Assert a is not b, with repr messaging on failure."class="st">"" |
| 332 | assert a is not b, msg or class="st">"%r is %r" % (a, b) |
| 333 | |
| 334 | |
| 335 | class="cm"># deprecated. See #5429 |
no outgoing calls