def not_in_test(self, expr, full, set):
        if not set: return '1'
        if len(set) == 1: return '%s != %s' % (expr, repr(set[0]))
        return '%s not in %s' % (expr, repr(set))
Like in_test, but the reverse test.
dataset/ETHPy150Open smurfix/yapps/yapps/parsetree.py/Generator.not_in_test