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 | """Assert a in not b, with repr messaging on failure.""" |
| 346 | assert a not in b, msg or "%r is in %r" % (a, b) |
| 347 | |
| 348 | |
| 349 | # deprecated. See #5429 |
no outgoing calls