

def test_single_column(self):
    User = self.classes.User
    s = Session()
    q = s.query(self.id)
    collection = [(1,), (2,), (7,), (8,)]
    it = loading.merge_result(q, collection)
    eq_(list(it), [(1,), (2,), (7,), (8,)])

dataset/ETHPy150Open zzzeek/sqlalchemy/test/orm/test_loading.py MergeResultTest.test_single_column/VarMisuse@30/33 `User`->`self`