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