def test_fork_preserves_data(self): table = Table(self.rows, self.column_names, self.column_types) table2 = table._fork(table.rows) self.assertIs(table.rows[0], table2.rows[0]) self.assertIs(table.rows[1], table2.rows[1]) self.assertIs(table.rows[2], table2.rows[2])
def test_fork_preserves_data(self): table = Table(self.rows, self.columns) table2 = table._fork(table.rows) self.assertIs(table.rows[0], table2.rows[0]) self.assertIs(table.rows[1], table2.rows[1]) self.assertIs(table.rows[2], table2.rows[2])