def write(self, obj, **kwargs):
        name = obj.name or 'values'
        obj, self.levels = self.validate_multiindex(obj)
        cols = list(self.levels)
        cols.append(name)
        obj.columns = cols
        return super(AppendableMultiSeriesTable, self).write(obj=obj, **kwargs)
Mock file open().
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/AppendableMultiSeriesTable.write--crossover with--dataset/ETHPy150Open google/fplutil/buildutil/android_test.py/FileSetMockFactory.__call__