def test_inherit_add_parent_column(self):
        stmts = [CREATE_STMT1, "CREATE TABLE t2 (c3 date) INHERITS (t1)"]
        inmap = self.std_map()
        inmap['schema public'].update({'table t1': {
            'columns': [{'c1': {'type': 'integer'}}, {'c2': {'type': 'text'}},
                        {'c4': {'type': 'text'}}]}})
        inmap['schema public'].update({'table t2': {
            'columns': [{'c1': {'type': 'integer', 'inherited': True}},
                        {'c2': {'type': 'text', 'inherited': True}},
                        {'c3': {'type': 'date'}},
                        {'c4': {'type': 'text', 'inherited': True}}],
            'inherits': ['t1']}})
        sql = self.to_sql(inmap, stmts)
        assert len(sql) == 1
        assert fix_indent(sql[0]) == "ALTER TABLE t1 ADD COLUMN c4 text"
Add a column to parent table, child should not add as well
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_column.py/ColumnToSqlTestCase.test_inherit_add_parent_column