def test_map_column(self):
        self.maxDiff = None
        stmts = [CREATE_TABLE, GRANT_SELECT % 'PUBLIC',
                 "GRANT INSERT (c1, c2) ON t1 TO user1",
                 "GRANT INSERT (c2), UPDATE (c2) ON t1 TO user2"]
        dbmap = self.to_map(stmts, no_privs=False)
        expmap = {'columns': [
            {'c1': {'type': 'integer', 'privileges': [{'user1': ['insert']}]}},
            {'c2': {'type': 'text', 'privileges': [
            {'user1': ['insert']}, {'user2': ['insert', 'update']}]}}],
            'privileges': [{self.db.user: ['all']}, {'PUBLIC': ['select']}]}
        assert dbmap['schema public']['table t1'] == expmap
copy the existing store to a new file, upgrading in place
dataset/ETHPy150Open perseas/Pyrseas/tests/dbobject/test_privs.py/PrivilegeToMapTestCase.test_map_column--crossover with--dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/HDFStore.copy