

def test_simple(self):
    xs = rules.cached_segment_enriched_tokens(x.s1)
    self.assertTrue(isinstance(xs, list))
    self.assertTrue(all((isinstance(x, RichToken) for x in xs)))

dataset/ETHPy150Open machinalis/iepy/tests/test_rules.py TestCachedSegmentEnrichedTokens.test_simple/VarMisuse@16/22 `self`->`x`