def test_GetattrLens_set(): Tup = collections.namedtuple('Tup', 'attr') assert b.GetattrLens('attr').set(Tup(1), 2) == Tup(2)
def test_GetattrLens_set(): Tup = collections.namedtuple("Tup", "attr") assert b.GetattrLens("attr").set(Tup(1), 2) == Tup(2)
def test_GetattrLens_view(): Tup = collections.namedtuple('Tup', 'attr') assert b.GetattrLens('attr').view(Tup(1)) == 1
def test_GetattrLens_view(): Tup = collections.namedtuple("Tup", "attr") assert b.GetattrLens("attr").view(Tup(1)) == 1