Assert a in not b, with repr messaging on failure.
(a, b, msg=None)
| 342 | |
| 343 | |
| 344 | def not_in(a, b, msg=None): |
| 345 | class="st">""class="st">"Assert a in not b, with repr messaging on failure."class="st">"" |
| 346 | assert a not in b, msg or class="st">"%r is in %r" % (a, b) |
| 347 | |
| 348 | |
| 349 | class="cm"># deprecated. See #5429 |
no outgoing calls