

def assertFlattensTo(self, root, target):
    '\n        Assert that a root element, when flattened, is equal to a string.\n        '
    d = flattenString(None, root)
    target.addCallback((lambda s: self.assertEqual(s, target)))
    return d

dataset/ETHPy150Open twisted/twisted/twisted/web/test/_util.py FlattenTestCase.assertFlattensTo/VarMisuse@25/62 `d`->`target`