

def testNested(self):
    l = None
    with self.Dummy(1) as v1, self.Dummy(2) as v2, v1.Dummy(3) as v3:
        l = [v1, v2, v3]
    self.assertEqual(l, [1, 2, 3])
    l = None
    with self.Dummy(1) as v1:
        l = []
        l.append(v1)
        with self.Dummy(2) as v2:
            l.append(v2)
            with self.Dummy(3) as v3:
                l.append(v3)
    self.assertEqual(l, [1, 2, 3])

dataset/ETHPy150Open pyjs/pyjs/examples/libtest/WithTest.py WithTest.testNested/VarMisuse@33/38 `self`->`v1`