Assert a in not b, with repr messaging on failure.
(a, b, msg=None)
| 336 | |
| 337 | |
| 338 | def not_in(a, b, msg=None): |
| 339 | """Assert a in not b, with repr messaging on failure.""" |
| 340 | assert a not in b, msg or "%r is in %r" % (a, b) |
| 341 | |
| 342 | |
| 343 | # deprecated. See #5429 |
no outgoing calls