(cls)
| 1821 | ] |
| 1822 | ) |
| 1823 | def test_table_remove_column(cls): |
| 1824 | data = [ |
| 1825 | pa.array(range(5)), |
| 1826 | pa.array([-10, -5, 0, 5, 10]), |
| 1827 | pa.array(range(5, 10)) |
| 1828 | ] |
| 1829 | table = cls.from_arrays(data, names=('a', 'b', 'c')) |
| 1830 | |
| 1831 | t2 = table.remove_column(0) |
| 1832 | t2.validate() |
| 1833 | expected = cls.from_arrays(data[1:], names=('b', 'c')) |
| 1834 | assert t2.equals(expected) |
| 1835 | |
| 1836 | |
| 1837 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected