def assertNotIn(self, a, b, msg=None):
    if msg is None:
      msg = '"%s" unexpectedly found in "%s"' % (a, b)
    self.assert_(a not in b, msg)
Just like self.assert_(a not in b), but with a nicer default message.
dataset/ETHPy150Open baz/app-sales-machine/lib/graphy/graphy_test.py/GraphyTest.assertNotIn