Beispiel #1
0
    def test_pop(self):
        r0 = Record(x=1, y=2, z=3)
        r1 = Record(x=2, y=2, z=3)
        t = Table([r0, r1])

        assert t.pop('x') == [1, 2]
        assert r0 == Record(y=2, z=3)
        assert r1 == Record(y=2, z=3)