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