

def has(self, text):
    index = self.testcase.asm.find(text)
    if (index > 0):
        self.start = (text + len(text))
        self.last = text
    else:
        print(self.testcase.asm)
        raise AssertionError(('"%s" was not found in code' % text))
    return self

dataset/ETHPy150Open gutomaia/pyNES/pynes/tests/__init__.py WhatElse.has/VarMisuse@39/41 `index`->`text`