Assert a in b, with repr messaging on failure.
(a, b, msg=None)
| 331 | |
| 332 | |
| 333 | def in_(a, b, msg=None): |
| 334 | """Assert a in b, with repr messaging on failure.""" |
| 335 | assert a in b, msg or "%r not in %r" % (a, b) |
| 336 | |
| 337 | |
| 338 | def not_in(a, b, msg=None): |
no outgoing calls